The Project is called “Bouncing Spheres”, reflecting the name, the code is trying to experiment with forces by creating a simple moving shape. As for inspiration I used Nike’s interactive window shop as shown in the video. It represents well the forces that are applied to the actual code later. The flat surface becomes alive and hundreds of spheres start working together as a team, united by the same cause and each one of them reflecting the forces applied to the first one, which passes it on the the next. Spheres are used to represent the tennis balls from Nike`s interactive window, then an interactive surface was created by the code. By pulling the center sphere up and down, the other ones react and create a wave effect, all the spheres are working simultaneously and reflecting the force applied to the central one, which passes on the force to the next one and so on. The code uses two classes. The SpringMass class adds forces to the two integrators created in the Integrator class, where I used a reference code to learn how to apply it. The main sketch uses arrays to distribute the objects along the x and y axes and assigns values to them. It also adds mouse control for pulling the sphere in the center up and down and a PeasyCam library to provide better control over the 3 D space.
Project name: Bouncing Spheres, a project of IaaC, Institute for Advanced Architecture of Catalonia
Open Thesis Fabrication, IaaC 2016-2017
Student: Martin Hristov
Faculty: Angelos Chronis