You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+34-11Lines changed: 34 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,11 @@ This file provides guidance to Claude Code when working with code in this reposi
4
4
5
5
## Project Overview
6
6
7
-
This is **Interactive Linear Algebra** - an educational web application for teaching vector operations through visual experimentation. Students can draw vectors on a 2D Cartesian plane and perform operations (addition, subtraction, scalar multiplication, dot products, projections) with smooth animated visualizations.
7
+
This is **Interactive Linear Algebra** - an educational web application for teaching linear algebra concepts through visual experimentation. The application supports three interaction modes:
8
+
9
+
-**Vector Mode**: Draw vectors on a 2D Cartesian plane and perform operations (addition, subtraction, scalar multiplication, dot products, projections) with smooth animated visualizations
10
+
-**Matrix Mode**: Visualize 2×2 matrix transformations and their effects on basis vectors
11
+
-**Tensor Mode**: Explore tensors of different ranks (0-3) in an interactive 3D space with drag-to-rotate and scroll-to-zoom controls
8
12
9
13
This application also serves as a reference implementation of the **Bespoke framework** - a reusable set of generalized CSS and JavaScript components designed for building embedded educational applications.
10
14
@@ -38,22 +42,30 @@ No build step required - this is pure HTML/CSS/JavaScript with no frameworks or
-**Formula Display**: Mathematical formulas and calculations shown for each operation
14
+
-**Tensor Visualization**: Interactive 3D visualization of tensors (scalars, vectors, matrices, 3D tensors)
14
15
15
16
### Supported Operations
16
17
- ✅ **Vector Addition** (v₁ + v₂)
@@ -20,9 +21,19 @@ An interactive educational tool for learning vector operations through visual ex
20
21
- ✅ **Magnitude Calculation** (||v||)
21
22
- ✅ **Angle Measurement** (in degrees from positive x-axis)
22
23
24
+
### Modes
25
+
26
+
The application supports three interaction modes:
27
+
28
+
1.**Vector Mode**: Draw and manipulate vectors on a 2D Cartesian plane with animated operations
29
+
2.**Matrix Mode**: Visualize 2×2 matrix transformations and their effects on basis vectors
30
+
3.**Tensor Mode**: Explore tensors of different ranks (0-3) in an interactive 3D space
31
+
32
+
Modes can be enabled/disabled via the `enabledModes` array in `client/config.json`. The default mode is set via the `mode` property in the config file.
33
+
23
34
### User Interface
24
-
-**Left Sidebar**: Control panel with vector information and operation buttons
25
-
-**Main Canvas**: Full-screen 2D Cartesian plane with grid
35
+
-**Left Sidebar**: Control panel with mode-specific information and operation buttons
36
+
-**Main Canvas**: Full-screen coordinate plane (2D for vector/matrix modes, 3D for tensor mode)
0 commit comments