Skip to content
Random fractal generator.
CoffeeScript JavaScript HTML
Branch: master
Clone or download
Latest commit fe7ac68 Oct 26, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information. Update Oct 26, 2019

Random fractal generator

  • Canvas of native JavaScript is used
  • Drawing starts in [x, y]
  • A line continues to [x+a, y+b]
  • a and b are variables containing a random value of 1 or -1
  • There's a special occasion - if the fractal reaches a border of the canvas, script makes it generate inside it
  • After it, the algorithm saves a and b to x and y etc.
You can’t perform that action at this time.