THE CONCEPT
Mandala Genesis is an interactive generative art installation designed to bridge the gap between digital precision and human expression. By utilizing a high-frequency mirroring engine, the system transforms simple mouse or stylus movements into complex, symmetrical geometric patterns in real-time. The project focuses on “stress-free” creativity, allowing users—regardless of technical skill—to architect intricate mandalas that respond dynamically to their spatial interaction within the digital canvas.
THE ENGINEERING
I architected the core drawing engine using the Processing language, implementing a multi-axis radial symmetry algorithm. The system employs a polar coordinate mapping system that replicates user input across a variable number of segments, defined by a count parameter that users can modify on the fly to alter pattern density. To enhance visual depth, I integrated a dynamic chromatic shift logic: the system samples the Euclidean distance of the cursor from the canvas center and maps this value to the HSB (Hue, Saturation, Brightness) color space.
Technically, the drawing loop utilizes a state-persistent mouseDragged function that calculates the previous and current angular positions (atan2) and distances to render seamless, mirrored vector lines. To ensure a professional user experience, I engineered a collision-free file management system that automatically indexes high-resolution PNG exports, preventing file overwriting during creative sessions.
Tech Stack
- Core Engine: Processing (Java-based)
- Algorithms: Radial Symmetry Mapping, Euclidean Distance Color-Mapping, Polar Coordinate Transformation
- Interaction: Low-latency Mouse/Stylus Tracking, Key-command Parameter Modification
- Visuals: HSB Color Mode, Dynamic Stroke Weight Modulation
- Export: Automated PNG Serialization



