milesbernhard.com

generative art · p5.js

The Ends of the Earth

Every seed renders one deterministic composition — the same seed always produces the same piece. Built for CSCI198 at Harvey Mudd.

How it works

  1. The seed drives everything. Your text is hashed into a seeded random number generator, so the piece is deterministic — the same seed always renders the same artwork.
  2. Launch sites are chosen at random. The generator picks between 0 and 10 points on the globe, weighted so 5 is far likelier than 0 or 10.
  3. Each site fires an arc. A curve is traced from the launch point to its target, with a Mark VI model at the head.
  4. Rarity is computed, not assigned. The stamped probability is the actual likelihood of that combination of choices — lower means rarer.

Built in p5.js with WebGL for CSCI198 at Harvey Mudd. Earth texture from Solar System Scope.