Link to Student
Journal Entry For
Module 2 - Ripples on a Pond
Modeling Approach
The steps are as follows:
- Create a grid
- Create attractor point, pebble 1
- Place Cylinders at grid points
- Compute the distance of pebble 1 to cylinders
- Compute Sine wave
- Set cylinder parameters
- Radius = 1
- Height: based on sine waves
- Set diminish ripples
- Create pebble 2 and 3
- Compute new height (sine wave)
Notes:
1. Scaling factor: convert distance to angle
2. Sine Wave
- Offset is set to amplification factor value to convert all heights to ≥ 0.
- An adjustment factor to diminish the ripples is added. It is set to 2 * grid side length / (distance + 5).
- 2 * grid side length: to make sure the diminish factor is large enough.
- The “+5” is to avoid very large diminish factor very close to the pebbles.
- When there are 3 pebbles, the height of the cylinders are determined by the closest pebble. It assumes that all pebbles are dropped at the same time.