Appearance
Maze navigation new
A game-like keyboard navigation demo where a pixel axolotl swims a graph like a maze. The twist: the movement is spatial rather than topological.
What it demonstrates
- Custom canvas layer (
Ogma.layers.addCanvasLayer) drawing the dashed tunnel mesh and leap trail in graph space, under the graph. - Non-scaled overlay (
Ogma.layers.addOverlaywithscaled: false) hosting the animated axolotl so it floats above the focused node at a constant size and follows the camera. - Smooth camera following with
Ogma.view.setCenter. - Class-based styling (
Ogma.styles.createClass) for focus, selection and neighbour highlighting.