summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PROJECT_CONTEXT.md6
-rw-r--r--doc/HOWTO.md7
-rw-r--r--go.sh10
-rw-r--r--test_passthrough.wgsl10
-rw-r--r--tmp/layer_0.pngbin239570 -> 0 bytes
-rw-r--r--tmp/layer_1.pngbin71523 -> 0 bytes
-rw-r--r--toto.pngbin24933 -> 0 bytes
7 files changed, 10 insertions, 23 deletions
diff --git a/PROJECT_CONTEXT.md b/PROJECT_CONTEXT.md
index e57763e..d00744c 100644
--- a/PROJECT_CONTEXT.md
+++ b/PROJECT_CONTEXT.md
@@ -37,9 +37,9 @@
- **Shaders:** Parameterized effects (UniformHelper, .seq syntax). Beat-synchronized animation support (`beat_time`, `beat_phase`). Modular WGSL composition.
- **3D:** Hybrid SDF/rasterization with BVH. Binary scene loader. Blender pipeline.
- **Effects:** CNN post-processing foundation (3-layer architecture, modular snippets). CNNEffect validated in demo.
-- **Tools:** CNN test tool (readback works, output incorrect - under investigation). Texture readback utility functional.
+- **Tools:** CNN test tool (readback works, output incorrect - under investigation). Texture readback utility functional. Timeline editor (web-based, beat-aligned, audio playback).
- **Build:** Asset dependency tracking. Size measurement. Hot-reload (debug-only).
-- **Testing:** **34/36 passing (94%)**
+- **Testing:** **36/36 passing (100%)**
---
@@ -59,7 +59,7 @@ See `TODO.md` for current priorities and active tasks.
**Technical Reference:**
- Core: `ASSET_SYSTEM.md`, `SEQUENCE.md`, `TRACKER.md`, `3D.md`, `CNN_EFFECT.md`
- Formats: `SCENE_FORMAT.md`, `MASKING_SYSTEM.md`
-- Tools: `BUILD.md`, `WORKSPACE_SYSTEM.md`, `SIZE_MEASUREMENT.md`, `CNN_TEST_TOOL.md`
+- Tools: `BUILD.md`, `WORKSPACE_SYSTEM.md`, `SIZE_MEASUREMENT.md`, `CNN_TEST_TOOL.md`, `tools/timeline_editor/README.md`
**History:**
- `doc/COMPLETED.md` - Completed tasks archive
diff --git a/doc/HOWTO.md b/doc/HOWTO.md
index 7b0daa0..d02fdb4 100644
--- a/doc/HOWTO.md
+++ b/doc/HOWTO.md
@@ -134,6 +134,7 @@ Processes entire image with sliding window (matches WGSL):
## Timeline
+### Manual Editing
Edit `workspaces/main/timeline.seq`:
```text
SEQUENCE 0.0 0
@@ -141,6 +142,12 @@ SEQUENCE 0.0 0
```
Rebuild to apply. See `doc/SEQUENCE.md`.
+### Visual Editor
+```bash
+open tools/timeline_editor/index.html
+```
+Features: Drag/drop, beat-based editing, audio playback, waveform visualization, snap-to-beat. See `tools/timeline_editor/README.md`.
+
---
## Audio
diff --git a/go.sh b/go.sh
deleted file mode 100644
index e6ad52b..0000000
--- a/go.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-# ./training/train_cnn.py --layers 3 --kernel_sizes 3,3,3 --epochs 10000 --batch_size 16 --input training/input/ --target training/target_2/ --checkpoint-every 1000
-./training/train_cnn.py --export-only training/checkpoints/checkpoint_epoch_2000.pth
-./training/train_cnn.py --export-only training/checkpoints/checkpoint_epoch_2000.pth --infer training/input/img_001.png --output test/toto.png
-./training/train_cnn.py --export-only training/checkpoints/checkpoint_epoch_2000.pth \
- --infer training/input/img_001.png \
- --output output/ref/toto0.png --save-intermediates output/ref/
-./build/cnn_test training/input/img_001.png output/toto.png --save-intermediates output/
-open output/*
diff --git a/test_passthrough.wgsl b/test_passthrough.wgsl
deleted file mode 100644
index 1e5f52a..0000000
--- a/test_passthrough.wgsl
+++ /dev/null
@@ -1,10 +0,0 @@
-@vertex fn vs_main(@builtin(vertex_index) i: u32) -> @builtin(position) vec4<f32> {
- var pos = array<vec2<f32>, 3>(
- vec2<f32>(-1.0, -1.0), vec2<f32>(3.0, -1.0), vec2<f32>(-1.0, 3.0)
- );
- return vec4<f32>(pos[i], 0.0, 1.0);
-}
-
-@fragment fn fs_main(@builtin(position) p: vec4<f32>) -> @location(0) vec4<f32> {
- return vec4<f32>(1.0, 0.0, 0.0, 1.0); // Solid red
-}
diff --git a/tmp/layer_0.png b/tmp/layer_0.png
deleted file mode 100644
index 9e2e35c..0000000
--- a/tmp/layer_0.png
+++ /dev/null
Binary files differ
diff --git a/tmp/layer_1.png b/tmp/layer_1.png
deleted file mode 100644
index 16b1a28..0000000
--- a/tmp/layer_1.png
+++ /dev/null
Binary files differ
diff --git a/toto.png b/toto.png
deleted file mode 100644
index 62aa745..0000000
--- a/toto.png
+++ /dev/null
Binary files differ