Changing Topography with a Curve Attractor – Example 4.5

05_02_plan

Many of the examples we looked at in the 2D Patterns can be adapted to create geometry in 3 Dimensions. In this exercise, we use the same logic employed in the Curve Attractor Example to move a grid of points vertically to create a river valley.

The logic here is pretty simple. The curve is sketched out again in Rhino. The further you are away from the curve, the higher your “Z” value is. The rate at which this happens is determined by a slider, which allows you to increase or decrease the slope. There is also a maximum elevation at which the curve attractor functions. This is pretty simple, but could be combined with other methods of vertical movement to create a quite complex landscape… For now, however, here are a few potential variations just changing two simple parameters.

Possible variations changing the Slope and Maximum height parameters.

Possible variations changing the Slope and Maximum height parameters.

I won’t explain this in detail, but will provide an image of a possible script below. You could also try reversing the attractor to create a snakelike landform…

Source: Wikipedia

Source: Wikipedia

And here is the script…

07_script

Advertisements