Weird Serpinski Algorithm

  1. place  points randomly (literally, click anywhere)
  2. another new point will be randomly placed (we'll call it point “p”)
  3. a point will be chosen among the first  red points you placed (let's call it “o”)
  4. the next point will be placed at  of the distance between points p and o
  5. the last two steps will repeat indefinitely (or until your computer crashes)

This project was made with P5js. Check source.