Skip to content

Commit 1df3a9e

Browse files
committed
newer folder structure
1 parent 27f9383 commit 1df3a9e

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

README.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ A minimal framework for creating interactive mathematical explanations with colo
55
**Demo:** [https://p.migdal.pl/equations-explained-colorfully/](https://p.migdal.pl/equations-explained-colorfully/)
66

77
**Inspired by:**
8+
89
- [Explorable explanations and science-based games](https://p.migdal.pl/blog/2024/05/science-games-explorable-explanations/)
910
- [BetterExplained's colorized equations](https://betterexplained.com/articles/colorized-math-equations/)
1011
- [Stuart Riffle's color-coded Fourier transform](https://web.archive.org/web/20130318211259/http://www.altdevblogaday.com/2011/05/17/understanding-the-fourier-transform) (2011)
@@ -73,7 +74,8 @@ Fundamental constant connecting energy and frequency.
7374

7475
## Examples
7576

76-
See `public/examples/` for complete examples:
77+
See `src/examples/` for complete examples:
78+
7779
- `new.md` - Simple starter template (E = mc²)
7880
- `schrodinger.md` - Schrödinger equation
7981
- `maxwell.md` - Maxwell's equations
@@ -95,23 +97,13 @@ pnpm build
9597

9698
## Creating New Equations
9799

98-
1. Create a markdown file in `public/examples/` (e.g., `my-equation.md`)
99-
2. Add entry to `public/examples/equations.json`:
100-
```json
101-
{
102-
"id": "my-equation",
103-
"title": "My Equation",
104-
"category": "Physics",
105-
"file": "my-equation.md"
106-
}
107-
```
108-
3. Use the in-browser editor to refine your equation interactively
100+
1. Create a markdown file in `src/examples/` (e.g., `my-equation.md`)
101+
2. Use the in-browser editor to refine your equation interactively
109102

110103
## Key Files
111104

112105
```
113-
public/examples/ # Equation markdown files
114-
├── equations.json # List of available equations
106+
src/examples/ # Equation markdown files
115107
└── *.md # Individual equation files
116108
src/
117109
├── main.ts # Vue app entry point

0 commit comments

Comments
 (0)