Skip to content

stebulus/petersen-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Source code for a visualization of the Petersen graph.

Model: A Platonic dodecahedron in a sphere, with opposite vertices identified. (It turns out that under this identification, the dodecahedral edge graph becomes the Petersen graph.)

View: Stereographically project the southern hemisphere onto the equatorial plane via the north pole. Map points in the northern hemisphere to the same points as their antipodes.

Controller: Dragging one point to another on the screen causes a corresponding rotation of the sphere (represented as unit quaternions).

To build:

bower install
pulp test
pulp build -O -t petersen-graph.js

Then view index.html.

About

An attempt at a visualization of the Petersen graph.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages