Misael Mexicano

image

image

The solution for this assignment was based on the next steps:

1. Generate a grid with points 200 x 200,

2. Generate a pint which will be the coordinate for the first pebble.

3. Generate two number sliders one for the multiplier which is related to the waves number and the amplifier which is related to the height of the wave.

4. In the next code block for pebble one is the distance from the coordinate to each point of the grid is calculated. The height of the wave based on the distance, multiplier and amplifier. At the end the new surface height based on the distance from the level 0 to the new height.

The steps are repeated except for the grid generation for the pebble 2.