![image](/_next/image?url=https%3A%2F%2Fassets.super.so%2F5be1215f-2de6-4f04-a395-bd454f62e3c4%2Fimages%2F0a33588c-d23a-4dc6-9da3-1e2e6397bf5f%2FUntitled.png&w=3840&q=90)
To model the ripples on the pond, I used the Rhino/Grasshopper interface and followed the logic suggested in the project description. I started by generating a grid to define the pond area and the location where the pebble was dropped. Next, for every point, I determined whether or not the point was within the circle of influence of the pebble. If the point was within the circle of influence, the height of the cylinder at that point was scaled based on its distance from the point where the pebble was dropped and the sin value of the distance from the pebble origin. Including the sin computation created the ripple effect. In the figure above, all cylinders were affected by the pebble. In the figure below, the circle of influence was smaller so not all cylinders were affected.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F3aaeaacf-ff2c-40ba-8217-dd66a2be0837%2FUntitled.png?id=73952507-c92d-416e-a5f7-4a3e38373346&table=block)
Options for variability in the design are presented to the user through the inclusion of number sliders in the model. The grid size, cylinder circumference, pebble location, pebble circle of influence, pond base height, and wave scaling factor are all associated with number sliders so they can be easily changed by the user.
In additional to they cylinders, I included the generation of a pond surface in my model to help with visualization of the ripples. The points used to generate the surface have the same x and y grid coordinates as the center of each cylinder and the z coordinate is the height of each cylinder. I then used the surface from points command to generate a visualization of the pond surface as shown below.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F151bcb30-2e72-44ba-93bf-d187f941723b%2FUntitled.png?id=5ad9a121-dcc7-4ef1-bc10-c04cc191bb18&table=block)
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F26f6102d-9fef-4717-9f02-ac127a65eaaa%2FUntitled.png?id=82a61402-473f-4738-ae09-8ed295bd87df&table=block)