https://github.com/selfapplied/sagestring
https://github.com/selfapplied/sagestring
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/selfapplied/sagestring
- Owner: selfapplied
- Created: 2025-12-08T21:24:48.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-12-11T06:09:31.000Z (6 months ago)
- Last Synced: 2025-12-27T03:06:53.860Z (6 months ago)
- Language: JavaScript
- Size: 536 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SageString
Fractal Sobel edge detection with spacetime-scale action functional.
## Structure
```
src/ # Core library (JavaScript modules)
sagestring.js # ES6 module entry point
sagestring-loader.js # Browser loader
core.js # Core primitives (WaveScheduler)
livecam/ # Live camera edge detection modules
tests/ # Tests (parallel to src/)
sagestring.js # Integration tests
core.js # Core tests
livecam/ # Livecam tests
demos/ # Demo applications
livecam/ # Live camera demo
sobel/ # Sobel edge detection demos
svg_kernel/ # SVG kernel system demos
chatbot/ # Chatbot demos
```
## Quick Start
### Library Usage (Browser)
```html
window.addEventListener('sagestring:ready', () => {
const sobel = new Sobel();
const renderer = new LatticeRenderer();
// ...
});
```
### ES6 Modules
```javascript
import { Sobel, LatticeRenderer } from './src/sagestring.js';
```
### Running Demos
1. Start a web server:
```bash
python3 -m http.server 8000
```
2. Open a demo:
- `demos/livecam/livecam.html` - Live camera edge detection
- `demos/sobel/working_sobel_demo.html` - Sobel demos
- `demos/svg_kernel/svg_kernel_demo.html` - SVG kernel demos
## Library Modules
See `src/README.md` for detailed module documentation.
## Demos
See `demos/README.md` for demo descriptions.