Skip to content

Instantly share code, notes, and snippets.

@AMSTKO
Created April 4, 2015 15:51
Show Gist options
  • Select an option

  • Save AMSTKO/f0dcc05428be429d5406 to your computer and use it in GitHub Desktop.

Select an option

Save AMSTKO/f0dcc05428be429d5406 to your computer and use it in GitHub Desktop.
Hopalong
Barry Martin's Hopalong Orbits Visualizer
These orbits are generated iterating this simple algorithm:
(x, y) -> (y - sign(x)*sqrt(abs(b*x - c)), a -x )
where a, b, c are random parameters. This is known as the 'Hopalong Attractor'.
3D rendering is done using WebGL and three.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment