How sly-codes/morphe works
Morphe is a scroll-driven, interactive WebGL point-cloud experience. Visitors scroll through five forms while the scene morphs between them; pointer movement steers the view and clicks trigger a pulse. The map follows the documented page, scroll, shape, morph, and render responsibilities. The excerpts show the JavaScript wiring; HTML and CSS responsibilities come from the README, so those relationships are limited to documented behavior.
Main entry points: main.js App entry and state · index.html Page sections · scroll.js Scroll and reveal · scene.js Morph and render
Components 8
Page and presentation
- Page sections
index.html - Layout and styles
css/style.css
Interaction and navigation
- App entry and state
js/main.js - Scroll and reveal
js/scroll.js
Point forms
- Seeds and five forms
js/shapes.js
Scene visualization
- Morph and render
js/scene.js
Other components
- Visitor
- p5.js WebGL
Connections 9
- Visitor → Scroll and reveal: scrolls
js/scroll.js - Visitor → App entry and state: moves and clicks
js/main.js - App entry and state → Scroll and reveal: tracks and reveals
js/main.js - App entry and state → Morph and render: creates scene
js/main.js - App entry and state → Page sections: queries sections
js/main.js - Morph and render → Seeds and five forms: evaluates forms
js/scene.js - App entry and state → p5.js WebGL: instantiates sketch
README.md - Page sections → Layout and styles: styled by
README.md - Page sections → Scroll and reveal: sections drive progress
README.md