Adding Points to Ripple

I’ve played with Image Sampler to get a boat wake surface, with good success, though can’t find it on the forum at the moment.

I said it couldn’t be done using Graph Mapper. It can be done. I modified code from @DavidRutten found here:

First to get this simple demo: damped_sine_crv_2019Jun05a.gh (5.5 KB)

Then adapted it to code posted here, with other changes including:

  • Scale appropriate for unit inches.
  • Fixed the way the bottom of the “Closed Brep” solid is created below the rippled surface to handle an extreme case like this:

At first, I wired it with three separate controls for each point (besides location):

  • Wavelength
  • Amplitude
  • Damping

(The yellow group is disconnected and does nothing, explained below)


But it gets tiresome exploring parameter settings when it takes so long to respond with a new surface (quicker at low resolution!), so I wrote the yellow “Scale” group to define ranges for each of the three parameters, split evenly among the points (0…N) using the Range component. Used instead of the sliders for each point, not ideal as these may not be linear relationships, but it’s fewer adjustments to explore the scale of things.

ripples_2019Jun05c.gh (44.1 KB) (revised)
(manual config of each point’s wave params disabled)




2 Likes