Perlin Shapes

30-Mar-2018 This is a JavaScript implementation one of Ken Perlin's experiments found on his blog. Here are some examples of the shapes he found in the original post:
Perlin Shapes
When I saw these shapes I thought wow that looks pretty cool. But what really got me was how these complex images can be create from such simple formula:
  x = y = θ = 0
  Repeat 8000 times:
    x += cos θ / 10
    y += sin θ / 10
    θ += ( (x2q)p + (y2/q)p ) / 20

  When you move your mouse, you are varying p and q.
So I thought I'd try myself to see if that actually worked. And it did! ← Back to Playground