I have created FoldCraft Studio, an interactive origami masterclass and 3D folding web application built with React, Vite, Three.js WebGL, Tailwind CSS, and Web Audio API.
Key Features & Highlights
-
Multiple Origami Models & Model Catalog:
- Rich library spanning Beginner, Intermediate, and Advanced models (e.g. Traditional Crane, Flapping Bird, Jumping Frog, Blooming Rose, Samurai Helmet, SkyGlider Plane, Modular Sonobe Polyhedron, Waterbomb, Cute Puppy, Masu Box, Lucky Puffy Star).
- Search filter, category filters (Animals, Flowers, Boxes, Modular, Action, Culture, Aerodynamics), difficulty pills, bookmarking favorites, and completed model status saved to LocalStorage.
-
Interactive 2D Step-by-Step Diagram Guide:
- High-precision vector SVG paper diagrams with front/back color distinction, arrow indicators (fold, unfold, turn, push, inflate), and crease line indicators (valley, mountain, guide lines).
- Verbal instructions with fold tips for every step.
- Navigation timeline, auto-play presentation loop with speed controls (0.5x, 1x, 2x), and keyboard shortcuts (
←/→ arrow keys, Space for play/pause).
- Accessibility & Tooling: Left-handed Mirror Mode toggle, X-Ray skeleton view, paper flip, and synthesized Web Audio paper crease/rustle sound effects.
-
Real-time 3D WebGL Fold Engine:
- Powered by Three.js WebGL with dynamic vertex morphing reflecting real-time fold progress (0%–100%).
- Interactive orbit camera with preset view angles (Isometric, Top Plan, Front Elevation) and Auto-Spin presentation mode.
- Dynamic lighting presets (Studio Daylight, Warm Sunset, Cyberpunk Neon, Soft Workshop) and shadow maps.
-
Crease Pattern Visualizer (CP Explorer):
- Displays unfolded 2D flat Crease Patterns with color-coded Mountain (Red dash-dot) and Valley (Blue dashed) fold lines.
- Mathematical Origami Theorem Auditor: Validates local flat foldability using Kawasaki's Theorem (alternating 180° angle sum around internal vertices) and Maekawa's Theorem (∣M−V∣=2).
- SVG Export function to save pre-creased paper pattern templates for printing.
-
Interactive Paper Customizer:
- Pick dual-sided palette colors (Front face & Back face).
- Traditional Japanese paper patterns (Chiyogami gold motif, Sakura cherry blossom, Modern dots, Geometric lattice).
- Specular metallic foil shimmer effect toggle and paper size/trimming calculator.
-
Freeform Origami Sandbox & Lab:
- Draw custom crease lines on a digital paper sheet to design original crease patterns and test flat foldability math in real-time.
-
Origami Academy & Knowledge Quiz:
- Symbol glossary reference, base folds guide (Square base, Waterbomb base, Bird base, Blintz base), paper types guide, and an interactive quiz game with trophy confetti celebration!
-
Print & Printable Pre-creased Paper Export:
- Generate print-ready instruction sheets.
Files built: index.html, src/types/origami.ts, src/utils/audio.ts, src/utils/kawasaki.ts, src/data/origamiModels.ts, src/components/StepDiagram2D.tsx, src/components/ThreeDCanvas.tsx, src/components/CreasePatternView.tsx, src/components/PaperCustomizer.tsx, src/components/OrigamiSandbox.tsx, src/components/KnowledgeBase.tsx, src/components/ModelCatalog.tsx, src/components/PrintExporter.tsx, src/components/Navbar.tsx, src/App.tsx