@stepvista/core)High-performance interactive physics simulation engine for browser-based learning.
🚀 See it in action: lab.stepvista.com
StepVista Core is a library of open-source components designed to transform static educational content into active, discovery-based experiences. It provides the fundamental building blocks for creating high-fidelity physics simulations that run smoothly in low-bandwidth environments.
This library is built on the principle of Guided Discovery:
physics-engine with 3D support, high-precision snapping, and decimal formatting.| Ingredient | Purpose |
|---|---|
SV-Grid |
A responsive Cartesian coordinate system with snappable grid lines. |
SV-Vector |
Draggable arrows with real-time magnitude and angular calculation. |
MathView |
A live LaTeX calculator that interpolates template strings with dynamic values. |
ZDirectionIndicator |
Renders textbook-standard symbols for Z-axis orientation (⊙ and ⊗). |
Physics-Engine |
High-precision utilities for 3D vector operations, cross products, and 2.5D projections. |
npm install @stepvista/core
Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
If you use this engine to build public educational tools, the AGPL requires that you share your source code with the community.
npm install
Preview components and test logic in the local workspace:
npm run dev
To use this library locally in your platform repository:
In stepvista-core:
npm link
In your platform repo:
npm link @stepvista/core
npm run build
The build preserves internal attribution signatures while optimizing SVG performance.
Built by Shishira Rao H A.