From 17f23e3773f2ec295736d229f2e1e6101bcaf90c Mon Sep 17 00:00:00 2001 From: skal Date: Thu, 12 Feb 2026 07:45:25 +0100 Subject: remove some artefacts. update docs. --- PROJECT_CONTEXT.md | 6 +++--- doc/HOWTO.md | 7 +++++++ go.sh | 10 ---------- test_passthrough.wgsl | 10 ---------- tmp/layer_0.png | Bin 239570 -> 0 bytes tmp/layer_1.png | Bin 71523 -> 0 bytes toto.png | Bin 24933 -> 0 bytes 7 files changed, 10 insertions(+), 23 deletions(-) delete mode 100644 go.sh delete mode 100644 test_passthrough.wgsl delete mode 100644 tmp/layer_0.png delete mode 100644 tmp/layer_1.png delete mode 100644 toto.png 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 { - var pos = array, 3>( - vec2(-1.0, -1.0), vec2(3.0, -1.0), vec2(-1.0, 3.0) - ); - return vec4(pos[i], 0.0, 1.0); -} - -@fragment fn fs_main(@builtin(position) p: vec4) -> @location(0) vec4 { - return vec4(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 Binary files a/tmp/layer_0.png and /dev/null differ diff --git a/tmp/layer_1.png b/tmp/layer_1.png deleted file mode 100644 index 16b1a28..0000000 Binary files a/tmp/layer_1.png and /dev/null differ diff --git a/toto.png b/toto.png deleted file mode 100644 index 62aa745..0000000 Binary files a/toto.png and /dev/null differ -- cgit v1.2.3