Skip to content

Commit 2282866

Browse files
committed
Feat: GPU-accelerated dynamic connection arrows and drawing primitives overhaul
- Replaces old CPU-based connection arrows with high-performance Vulkan shaders - Animates dynamic connections natively using injected GPU float time - Overhauls basic shapes, polygons, arcs, and curves to use GPU canvases - Fixes various drawing pipeline memory bounds corruption bugs - Reorganizes the builtin-programs/draw module - Adds forgiving error handlers to prevent terminal UI log spam from malformed syntax
1 parent 99f085d commit 2282866

41 files changed

Lines changed: 2247 additions & 977 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ debug: folk
8686
if [ "$$(uname)" = "Darwin" ]; then \
8787
lldb -o "process handle -p true -s false SIGUSR1" -- ./folk; \
8888
else \
89-
DEBUGINFOD_URLS="" gdb -ex "handle SIGUSR1 nostop" -ex "handle SIGPIPE nostop" ./folk; \
89+
gdb -ex "handle SIGUSR1 nostop" -ex "handle SIGPIPE nostop" ./folk; \
9090
fi
9191

9292
clean:
@@ -115,19 +115,20 @@ kill-folk:
115115
fi
116116

117117
FOLK_REMOTE_NODE ?= folk-live
118+
FOLK_SYNC_IGNORES ?= $(shell git rev-parse --git-path ignores.tmp 2>/dev/null || printf '%s\n' .git/ignores.tmp)
118119

119120
sync:
120121
ssh $(FOLK_REMOTE_NODE) -t \
121122
'cd ~/folk && git init > /dev/null && git ls-files --exclude-standard -oi --directory' \
122-
> .git/ignores.tmp || true
123-
git ls-files --exclude-standard -oi --directory >> .git/ignores.tmp
123+
> '$(FOLK_SYNC_IGNORES)' || true
124+
git ls-files --exclude-standard -oi --directory >> '$(FOLK_SYNC_IGNORES)'
124125
rsync --timeout=15 -e "ssh -o StrictHostKeyChecking=no" \
125126
--archive --delete --itemize-changes \
126127
--exclude='/.git' \
128+
--exclude-from='$(FOLK_SYNC_IGNORES)' \
127129
--exclude='vendor/tracy/public/TracyClient.o' \
128130
--include='vendor/tracy/public/***' \
129131
--exclude='vendor/tracy/*' \
130-
--exclude-from='.git/ignores.tmp' \
131132
./ $(FOLK_REMOTE_NODE):~/folk/
132133

133134
remote-setup:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ Use it in an animation:
517517

518518
```
519519
When the clock time is /t/ {
520-
Wish $this draws a circle with offset [list [expr {sin($t) * 50}] 0]
520+
Wish $this draws a circle with offset [list [expr {sin($t) * 5.0}]cm 0cm] radius 1.2cm
521521
}
522522
```
523523

0 commit comments

Comments
 (0)