How httpspycharmhelpers/teach works
This is a browser-based Three.js teaching tool. The main workflow is to adjust cuboid dimensions, inspect its volume and layered representation, and explore or annotate the model. Separate branches provide function plotting, geometry creation and definition from uploaded views, and difficulty-grouped math practice. The source excerpts show that app.js owns scene setup and UI dispatch; evidence for some UI-to-module links is documented by the README rather than shown in those excerpts.
Main entry points: app.js Scene and UI control · cubic.js Cuboid and layers · recognize.js Image-defined models · index.html Teaching interface
Components 10
Cuboid learning
- Scene and UI control
js/app.js - Cuboid and layers
js/cubic.js - Unit conversion
js/app.js
Visual exploration
- Annotation canvas
js/annotation.js - Function plotting
js/functions.js
Geometry tools
- Parametric geometry
js/developer.js - Image-defined models
js/recognize.js
Math practice
- Math drills
js/math.js
Other components
- Learner
- Teaching interface
index.html
Connections 10
- Learner → Teaching interface: uses
README.md - Teaching interface → Scene and UI control: starts
README.md - Scene and UI control → Cuboid and layers: updates
js/app.js - Scene and UI control → Function plotting: dispatches plots
js/app.js - Scene and UI control → Parametric geometry: creates geometry
js/app.js - Scene and UI control → Math drills: renders drills
js/app.js - Cuboid and layers → Annotation canvas: uses notes
- Learner → Unit conversion: converts units
- Scene and UI control → Image-defined models: opens model tools
- Image-defined models → Parametric geometry: registers models
js/recognize.js