Spacecurve: A space-filling curve playground
10 days ago
- #space-filling curves
- #mathematical visualization
- #Rust programming
- The author reflects on neglecting their blog and resolves to address it in 2025, but posts in January 2026.
- Introduces 'spacecurve', a new project focused on space-filling curves, stemming from a long-standing interest in these mathematical objects.
- Previous related works include malware visualizations, a portrait of the Hilbert curve, and tools like binvis.io.
- The project involves rewriting existing ideas in Rust, serving as a foundation for exploring visualization, color spaces, and curve qualities.
- The 'spacecurve' library provides fast implementations of various curves (Hilbert, Peano, Sierpinski, Moore, Z-order).
- The 'scurve' command-line tool offers visualization capabilities for 2D and 3D curves, with an egui interface that works natively and in browsers.
- Installation instructions for both the library and the command-line tool are provided, including web deployment via WebAssembly.