For the first part of this Module 2, I completed the “A Walk in the Park” assignment. I started by using a code block to create the start and end values of the extents of my bounds (0 and 200, to create a 200’ x 200’ grid). I then added an integer slider to control the step value of the code block. Then, I fed this into the point.bycoordinates block, and used the cross product lacing option to create a grid. Then, I flattened the list of points. Then, I created the initial cuboids, with the origin provided by the previously flattened list, the width and length provided by the step value, meaning it would be the same width and length as each of the areas. Next, I created the attractor point using two sliders for x and y, leaving z = 0. I then computed the distance using the Geometry.DistanceTo block, and using a scale factor of 2, computed the distance factor using the provided formula. Then, I created the sine wave, taking in the # of waves, amplitude, and base height from sliders. I used the List.MaximumItem block to compute the max distance, and used the formula provided to compute the value to be passed into the Sine block, and then used this value to be passed into the block to compute the height of each cuboid according to the sine value. Finally, after passing this computed height into the cuboid creation, I adjusted each of the cuboids by the calculated height / 2 to ensure they were above the z axis. My results were as follows.

Additionally, I also completed “Eliminate the Echo”. I began by creating an XY plane, specified in reference to WorldXY, and then shifted it up 12’ by creating a unit z with a value of 144 (inches), and moving the created plane up by that much. Then, I created a rectangular grid using this plane, an initial size of 1 in x and y, and extents of 20 in x and y. Then, I created the cylinders, specifying the base as the points on the rectangular grid, the radius as half of the initial size, and the length as 1. Then, I created an attractor point using x and y sliders, leaving z = 0. Then, I used the Distance block to calculate the distance between the attractor point and every point on the rectangular grid, found the max distance using bound and decomp domain, and then passed this, along with the number of waves (slider) and the point distance (previously calculated) into the group of functions as specified in the tutorial. The end product of this was a z scale factor, which I then passed into the Scale NU block to scale the cylinders.
