How putra10/analytica works
Analytica is a client-side mathematics learning laboratory for complex analysis, analytic geometry, and abstract algebra, with bilingual theory and a formula-summary area. A learner navigates from the landing page into a course module, enters or adjusts mathematical examples, and explores computed or visual results in interactive labs. The graph preserves the documented residue, geometry, transformation, group, and ring capabilities; unsampled features use their supported enclosing directories. Detailed wiring is shown only where excerpts or README evidence support it.
Main entry points: App.tsx App shell · MappingLab.tsx Mapping lab · GeometryModule.tsx Geometry module · AlgebraModule.tsx Algebra module
Components 28
Application shell
- React entry
src/main.tsx - App shell
src/App.tsx - Hash router
src/lib/router.ts - Landing page
src/pages/Landing.tsx - About page
src/pages/About.tsx
Complex analysis
- Complex module
src/components/complex/ComplexModule.tsx - Mapping lab
src/components/complex/MappingLab.tsx - Complex visualizations
src/components/complex/ComplexCanvas.tsx - Complex theory
src/components/complex/ComplexTheory.tsx - Complex math
src/lib/complex-math.ts - Expression compiler
src/lib/expr.ts
Analytic geometry
- Geometry module
src/components/geometry/GeometryModule.tsx - Geometry labs
src/components/geometry - Affine transforms
src/components/transform/TransformLab.tsx - Matrix math
src/lib/matrix-math.ts - Geometry math
src/lib - Geometry theory
src/components/geometry/GeometryTheory.tsx
Abstract algebra
- Algebra module
src/components/algebra/AlgebraModule.tsx - Group theory lab
src/components/algebra/GroupLab.tsx - Group calculations
src/lib/group-theory.ts - Permutation lab
src/components/algebra/PermutationLab.tsx - Permutation math
src/lib/permutations.ts - Ring and polynomial labs
src/components/algebra - Ring calculations
src/lib/rings.ts
Course reference
- Formula summary
src/pages/Summary.tsx - Summary content
src/content/summary.ts - Worked examples
src/content/summary-examples.ts
Other components
- Learner
Connections 27
- Learner → React entry: opens app
- React entry → App shell: renders
- App shell → Hash router: reads route
- App shell → Landing page: renders home
- App shell → Complex module: selects complex
- App shell → Geometry module: selects geometry
- App shell → Algebra module: selects algebra
- App shell → Formula summary: opens summary
- App shell → About page: opens about
- Complex module → Mapping lab: shows lab
- Mapping lab → Expression compiler: compiles input
- Mapping lab → Complex math: evaluates mapping
- Mapping lab → Complex visualizations: draws results
- Complex module → Complex theory: shows theory
- Geometry module → Geometry labs: offers labs
- Geometry module → Affine transforms: offers transforms
- Affine transforms → Matrix math: computes transforms
- Geometry module → Geometry theory: shows theory
- Algebra module → Group theory lab: offers group lab
- Group theory lab → Group calculations: computes groups
- Algebra module → Permutation lab: offers permutations
- Permutation lab → Permutation math: computes permutations
- Algebra module → Ring and polynomial labs: offers ring labs
- Ring and polynomial labs → Ring calculations: computes rings
- Formula summary → Summary content: renders formulas
- Formula summary → Worked examples: renders examples
- Formula summary → Hash router: links to labs