- Walk in the Park
In this first modeling with Dynamo, I started creating a surface with the dimensions of 200’x200’. It helped me to understand that the dimensions of a grid point, depending on the division I choose, will have the same dimensions. Then, I created a line of points on axes X and Y using the function Point.ByCoordinates, I got the grid. At each point of the grid, I created the cuboids using the function Cuboid.ByLenghts
To create an attractor, I created a point, and then I added the function Geometry.DistanceTo to get the distance between the points grid with the specific point I created as Attractor.
Then, with help of the function Math.Sin and introducing the proper parameters, we can get a function in terms of the distance and adjuts the height of the cuboids, which finally produced the pattern as I moved the attractor point.
Once I got the right code, I started changing or adjusting parameters to find better results: I started changing the number of waves in the Sin function, the base Height of the cuboids, the position of the attractor point, and also the number of divisions for my grid, which increased the level of detail and smoothness of the result.
- Eliminate the Echo
In this case, I used a grashopper, first understanding the position of the plane and defining a new one 12’ above, to simulate a ceiling. Then, I created a grid of points, similar to what was done in Dynamo. In this grid, I created the cylinders using Cyl, with a negative value for the height, so it could simulate a decoration on a ceiling while watching it from the floor.
Then, I created a point as an Attractor and I calculated the distance from this point to each cylinder. For that, first, it was necessary to use the function Area, which gives us the center of each cylinder.
Then, I introduced the formula for the Sine Function, using “Evaluate”. This formula, Sine, lets us relate the distance between the cylinders and the attractor point to their height.
In this case, I decided to place the attractor point in the middle, and then I focused on changing the number of waves in the Sine Function and the base height and amplitude to get a nice pattern.
Finally, I adjusted the number of cylinders to get a more detailed surface.
- Happy Facade
In this case, the analysis was focused more in the introduction again of a function that creates an attractor to modify the pattern, in this case, this was the function Math.Cos: Using the minimum distance between 2 Attractor Spheres and each point defined in the wall, as part of the formula, I used the formula Math.Cos to modify the diameter of the Round Openings in the walls.
Then, I started adjusting the Amplitude, defined to vary the diameter and the number of waves, these two parameters basically changed the patterns of this wall.