Skip to content

Commit

Permalink
Merge pull request #36 from cedricpinson/filewatching-pause-reset
Browse files Browse the repository at this point in the history
Adds convenient utilities
  • Loading branch information
davidar authored Jan 1, 2025
2 parents c94380f + 0a448ab commit 6ed761c
Show file tree
Hide file tree
Showing 6 changed files with 281 additions and 68 deletions.
139 changes: 135 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ futures-intrusive = "0.5.0"
async-recursion = "1.0.0"
snailquote = "0.3.1"
indexmap = "2.2.5"
notify = "7.0.0"

# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ cargo run examples/davidar/buddhabrot.wgsl

![screenshot](https://user-images.githubusercontent.com/24291/230871630-7bee3977-8d24-4259-8af6-639232929672.png)

## Shortcuts

- `space` to toggle pause/resume of the rendering
- `esc` to exit
- `backspace` to reset time

## Web

See https://github.com/compute-toys/compute.toys
Loading

0 comments on commit 6ed761c

Please sign in to comment.