Hacker News new | ask | show | jobs
Show HN: Traverser, generate hypnotising graph/network animations (traverser-sooty.vercel.app)
1 points by SkepticMystic 836 days ago
A quick little project to generate deterministic graph animations based on modulo arithmetic.

Rule: Given n nodes and a list of steps, start at node 0, move steps[0] nodes clockwise, then steps[1], and so on. After the last step, wrap around to the first step and continue. Stop once the last step in the list takes you to node 0 again.

Features: - Randomise inputs - Save output as PNG - Different edge styles - Change animation speed - Create shareable links to recreate a graph

Give it a try, let me know your thoughts :) The default inputs are random each time, so you might get a boring one. It's very satisfying to keep hitting "Randomise", and watch as structure emerges. Sometimes you get a "direct" path to the finish, and end up with an asymmetric graph.

The code can be found at https://github.com/SkepticMystic/traverser-sk