Parametric surfaces and implicit functions as visual objects. Tweak the math, get sculpture.
The idea is simple: mathematics already contains beauty. These scripts expose that — no artistic intent required, just the right function and the right parameters.
Chaos theory rendered as a 3D trajectory — the butterfly effect made visible.
Logarithmic spiral shell surface — the same mathematics that governs nautilus growth, galaxy arms, and hurricane spirals.
A curve that wraps 3 times longitudinally and 7 times meridionally around a torus before closing.
A simpler chaotic system with a single spiral lobe and a dramatic fold.
| File | Form | Concept |
|---|---|---|
torus_knot.py |
Knotted torus in 3D | Parametric knot curves on a torus surface |
seashell.py |
Logarithmic shell surface | Growth spirals via exponential parametrics |
strange_attractor.py |
Lorenz / Rössler attractors | Chaos theory rendered as 3D trajectory |
minimal_surface.py |
Schwarz P / Gyroid | Surfaces with zero mean curvature |
lissajous_3d.py |
3D Lissajous figures | Frequency ratios as spatial curves |
git clone https://github.com/hakvinv/mathsculpt.git
cd mathsculpt
pip install numpy matplotlib scipy
python strange_attractor.pyEach script is self-contained. Parameters are exposed at the top of the file — change them and see what happens.
These are not visualizations of data. They are objects that exist because the math says they should.
Built by Hakvin Vosteen



