Skip to content

About

AI GENERATED - Active collaboration STEM note taking

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

AxiomBoard — Real-Time Collaborative STEM & Teaching Canvas

Built with Next.js (App Router), TypeScript, SCSS (Sass), WebSockets, KaTeX, PDF.js, and SQLite (node:sqlite), and ready for Docker deployment.

Features

  • Concepts + Xournal++ Hybrid Canvas:
    • Infinite canvas & paged document modes (Dark Grid, Dots, Chalkboard, Isometric 3D, Lined, Cornell Notes, Whiteboard).
    • Pressure-sensitive vector ink (Fountain Pen, Technical Pen, Graphite Pencil, Highlighter, Marker, Stroke Eraser), precision shapes (Line, Vector Arrow, Rectangle, Ellipse, 2D Coordinate Axes), multi-layer manager, and Undo/Redo (Ctrl+Z / Ctrl+Y).
    • PDF & Multi-App Sketch Importer: Import sketches from Apple Freeform (PDF / PNG / SVG), Concepts (.concept / SVG / PDF / PNG), Xournal++ (.xopp), Excalidraw (.excalidraw), and arbitrary images/PDFs — either as original annotated pages, transparent ink overlays (paper background removed), or traced into editable AxiomBoard vector strokes.
  • Multi-Device Accounts & Real-Time Collaboration:
    • Create accounts and sign in across multiple devices simultaneously.
    • Built-in Phone Companion QR Code (in the Share modal) + Camera button: take a photo or video on your phone and watch it appear live on your desktop canvas for instant annotation.
    • Real-time cursors, live stroke streaming, and shareable collaboration codes (Editor / Viewer / Private).
  • Auto-Formatting LaTeX Math & Handwritten Ink-to-LaTeX:
    • Open with L anytime from the canvas. Includes Interactive Math Boxes (type straight into matrices, fractions, derivatives, integrals, sums, limits, roots, powers, and subscripts) plus automatic keyword-to-symbol conversion (alpha, theta, pi, inf, partial, nabla, hbar, times, ->, <=), live KaTeX preview, and smart topic recommendations (Tab to accept, Esc to ignore).
    • Handwritten Ink → LaTeX: Circle handwritten strokes with the Lasso tool (or click the Wand button in the tool dock) to convert handwritten math into crisp KaTeX boxes via the built-in offline geometric/STEM recognizer or optional Vision AI OCR (GEMINI_API_KEY, OPENAI_API_KEY, OLLAMA_URL, or MATHPIX_APP_ID/MATHPIX_APP_KEY).
  • Runnable Interactive Science Simulations:
    • Physics: Projectile Motion & Drag, Chaotic Double Pendulum (RK4), Driven Damped Spring-Mass Oscillator, 2D Electric Field & Test Charge, Double-Slit Wave Interference, 1D Quantum Tunneling (TDSE), and Particle in a Box Superposition.
    • Chemistry: Gas Kinetics & Maxwell-Boltzmann Distribution, Reaction Kinetics (A ⇌ B → C), Hydrogen Atomic Orbitals (1s–3d).
    • Biology: Lotka-Volterra Predator-Prey + Phase Portrait, FitzHugh-Nagumo Neuron Action Potential, Spatial SIR Epidemic Automaton.
    • Custom Model Sandbox: Write live JavaScript/Canvas formulas with custom sliders and save models to disk.
  • Configurable Original-Filename Storage (Docker & Local):
    • Pasted (Ctrl+V) or uploaded images, videos, simulation models, and files are stored as the original upload with their original filename in your chosen filesystem folder (or Docker MEDIA_STORAGE_DIR). See docs/STORAGE_AND_DOCKER.md.
  • Universal Export Engine:
    • Paused State: PNG, JPEG, WebP, SVG, PDF, Markdown (.md), Standalone HTML, and Axiom JSON.
    • Video Export: Runs all simulations on the canvas for a user-specified duration and exports .webm / .mp4 video.

Running Locally

npm install
npm run dev

Visit http://localhost:3000.

Running with Docker

docker compose up --build -d

See docs/STORAGE_AND_DOCKER.md for configuring Docker volume mounts and custom media/model storage paths.

About

AI GENERATED - Active collaboration STEM note taking

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages