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

README.md

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.