Skip to content

DevinPlumb/trivalent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Trivalent

trivalent-demo.mov

Small Three.js viewer for the three convex regular polyhedra where every vertex is trivalent (three faces meet at each corner): tetrahedron, cube, and dodecahedron. Those are the only Platonic solids with that property.

Motivation: I have been thinking more about logos and branding of late. The Cursor animation is neat; it only needs a corner and the three edges meeting there. That isn’t special to a cube—any regular trivalent convex polyhedron has the same local picture, so the same idea extends to the tetrahedron and dodecahedron.

Run: ES modules need HTTP. From this repo, serve polyhedra-viewer (or the repo root) with any static file server, then open the viewer in the browser—for example python -m http.server 8765 from polyhedra-viewer and visit http://127.0.0.1:8765/.

Behavior: Reset view frames one corner with a tripod of three edges. Camera distance is chosen with dolly-zoom-style reasoning (distance vs. field of view) so that framing stays balanced when you change the lens. The cursor reuses that corner geometry; you can spin the cursor pair in its plane. Colors follow the 2.5D grey ramps from the cube art, with optional flat 2D fills.

About

Extending the Cursor logo animation to all 3 regular trivalent convex polyhedra

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors