coding

Algorythmic Landscape

An attempt to create an algorithmic (sea) landscape. Everytime you hit the run button, the computer generates another landscape.

In short; I used a math function (sin(x)) to create wave forms. There a a lot of numbers involved but all numbers can be randomized (so then the computer can choose those numbers for you ).

Want to give this code a shot? Or see more creative coding? Visit my account on openprocessing.org

%d bloggers like this: