This repository has no description
1export RUST_BACKTRACE := "1"
2install_at := replace(home_directory(), "\\", "/") / ".local/bin"
3
4build:
5 cargo build --bin shapemaker
6 cp target/debug/shapemaker .
7
8vst:
9 cargo xtask bundle shapemaker --release --features vst
10 gsudo cp "target/bundled/Shapemaker VST.vst3/Contents/x86_64-win/Shapemaker VST.vst3" "C:/Program Files/Common Files/VST3/Shapemaker VST.vst3"
11
12beacon out="out.mp4" args="":
13 ./shapemaker beacon start {{out}} {{args}}
14
15web:
16 wasm-pack build --target web -d examples/web --features web --no-default-features
17 touch examples/web/.nojekyll
18 echo "" >> examples/web/.gitignore
19 echo "!index.html" >> examples/web/.gitignore
20
21start-web:
22 just web
23 python3 -m http.server --directory examples/web
24
25install:
26 mkdir -p {{install_at}}
27 cp shapemaker {{install_at}}
28
29example-video out="out.mp4" args='':
30 RUST_BACKTRACE=full ./shapemaker test-video --colors examples/colorschemes/palenight.css {{out}} --sync-with examples/schedule-hell/schedule-hell.midi --audio examples/schedule-hell/schedule-hell.flac --grid-size 16x10 --resolution 480 {{args}}
31
32[working-directory: 'paper']
33paper:
34 # just analyze_times disabled because it needs manual adjustements in the render loop pipeline diagram
35 cargo run --package specimen
36 cargo run --package dna-analysis-machine
37 typstyle format-all ../paper # . does not work, it formats nothing
38 typst compile --root .. main.typ
39
40readme:
41 cd examples/gallery; ./fill.rb
42
43timings compare_with="":
44 just
45 python script/debug-performance.py {{compare_with}}