Interactive Spirogram
de aritrabhamajumdar_math @aritrabhamajumdar_math
- 235
- 1
- 0
Introduction
I created a spirogram generator with variable background color and variable stroke color. All the parameters can be adjusted via tweakpane

Supplies
I used Tweakpane, Node.JS and Canvas-Sketch

Interactive Spirogram
I created an interactive spirograph generator using JavaScript with the canvas-sketch framework for rendering and Tweakpane for real-time parameter control. I implemented the spirograph using parametric equations based on rotating circles, where the radii and offset values determine the generated patterns. Through the control pane, I was able to dynamically modify parameters such as the outer radius, inner radius, drawing offset, animation speed, stroke width, and colors, allowing me to explore a wide variety of geometric and hypnotic designs interactively. I also added animation and glow effects to enhance the visual appearance

0 comentários
Faça login ou cadastre-se Gratuitamente para comentar