Project

Cosmic Geometry

An interactive Kurdish Sacred Geometry Study Platform & Parametric Harmonograph Generator.

Kurdish Academic Study Of Sacred Geometry. An educational library presenting comprehensive details, history, mystical meanings, and drawing instructions for 8 primary sacred geometries in fluent, professionally translated Sorani Kurdish. Featured Patterns: Flower of Life (گوڵی ژیان) — The template of creation and cellular division. Seed of Life (تۆوی ژیان) — The seven circles representing the first stage of cosmic geometry. Metatron's Cube (سێکوچکەی مێتاترۆن) — Contains all 5 Platonic solids, representing the building blocks of matter. Sri Yantra (سری یانترا) — Nine interlocking triangles symbolizing the union of divine masculine and feminine. Torus (تۆروس) — The self-sustaining doughnut-shaped feedback loop of cosmic energy flow. Golden Spiral (مارپێچی زێڕین) — Logarithmic spiral based on the Fibonacci sequence and the Golden Ratio (ϕ≈1.618). Vesica Piscis (ڤێسیکا پیسیس) — The intersection of two congruent circles representing the portal of creation. Vector Equilibrium (هاوسەنگی ڤێکتۆر) — Absolute thermodynamic and force equilibrium where all vectors are equal. Dynamic Preview: Includes a slowly rotating, glowing, retina-sharp canvas preview that lets users see the shapes "breathe." 2. High-Definition Vector Design Playground (DownloadPlaygroundTab) A full-featured customization panel that lets graphic designers, educators, and artists configure and style any of the 8 patterns: Controls: Scale/size, rotation angle, line weight, opacity, complexity layers. Styling Modes: Monochrome, Glowing Neon, and Multi-color Spectrum Rainbow. Background Toggles: Custom solid hex backgrounds or Transparent Background (بێ پاشبنەما). Retina Export: Downloads crisp, ultra-high-definition 1200x1200px PNG files suitable for physical print, digital mockups, or wallpapers. 3. Custom Spirograph & Video Recording Playground (CustomGeneratorTab) An advanced mathematical canvas that simulates gravitational orbits, electromagnetic fields, and sound vibrations through parametric equations. Parametric Equations: Hypotrochoid (کێشانی ناوەکی): x(t)=(R−r)cos⁡(t)+dcos⁡(R−rrt) y(t)=(R−r)sin⁡(t)−dsin⁡(R−rrt) Epitrochoid (کێشانی دەرەکی): x(t)=(R+r)cos⁡(t)−dcos⁡(R+rrt) y(t)=(R+r)sn⁡(t)−dsin⁡(R+rrt) Animate & Renew: Features a real-time, point-by-point drawing animation at customizable speeds. Includes a dedicated Renew Animation (نوێکردنەوەی جوڵە) button to smoothly restart the drawing. Native MP4 Video Recording: Captures the real-time drawing process using the browser's native MediaRecorder API at 30 FPS. Dynamically detects browser capabilities to record in MP4 container (H.264/AVC codecs), with automatic fallback to WebM on older environments. Features an active, pulsing recording overlay ("تۆمارکردن... ڕاگرتن") and triggers a high-quality video download instantly when drawing is completed. Technology Stack & Architecture Web Framework: Next.js 16 (App Router, React 19, TypeScript) Styling Engine: Tailwind CSS Directional Flow: Native Right-to-Left (RTL) Kurdish text configuration via dir="rtl" and lang="ku" on the document root. Graphics Engine: HTML5 Canvas API Utilizing high-resolution double-buffering backing store ratios to achieve pixel-perfect rendering on high-DPI and Apple Retina screens. Media Engine: Web Stream Capture & MediaRecorder API (Real-time 30 FPS encoding, custom chunks assembly, Blob compiler). Icons: Lucide React

Gallery