Files

627 B

Diophantine Sphere

Standalone Glitch University component that renders the teaching sequence from a continuous sphere to restricted integer rays. It can show a perfect surface x² + y² + z² = r², an L1 surface |x| + |y| + |z| = r, a single complexity |x| + |y| + |z| = C, or the combined range |x| + |y| + |z| in [1, C]. Overlapping rays are combined and coloured by multiplicity.

Development

  • npm install
  • npm run dev
  • npm run build

The component follows the Glitch Component contract and registers itself as window.GlitchComponents["diophantine-sphere"] when loaded from the built IIFE bundle.