Multiplayer canvas tool with programmable brushes!
Find a file
リキ萌 598c0348f6 fix viewport shrinking permanently (#113)
what was happening is we were setting style.width and style.height which overrode the styles from CSS that gave us the BoundingClientRect from which we were calculating the canvas size
I also added a sendViewportUpdate to prevent chunk jank
2025-05-27 22:25:30 +02:00
.cargo a whole load of work in progress 2024-08-15 20:01:10 +02:00
admin s/liquidex/riki 2025-05-26 18:53:17 +02:00
crates additional list functions (range, map, filter, reduce, flatten) (#74) 2025-05-27 22:25:29 +02:00
docs additional list functions (range, map, filter, reduce, flatten) (#74) 2025-05-27 22:25:29 +02:00
scripts implement brush cost gauges 2024-10-25 21:39:53 +02:00
static fix viewport shrinking permanently (#113) 2025-05-27 22:25:30 +02:00
template add zoom indicator in lower left corner (#39) 2025-05-26 20:23:26 +02:00
.editorconfig initial commit 2024-08-10 23:10:22 +02:00
.gitignore a whole load of work in progress 2024-08-15 20:01:10 +02:00
Cargo.lock add libm math functions to haku 2024-09-07 14:33:20 +02:00
Cargo.toml sync 2024-08-17 22:16:21 +02:00
jsconfig.json add jsconfig.json 2024-09-06 22:50:42 +02:00
Justfile make it possible to set release profile for rkgk in justfile 2024-08-24 13:51:38 +02:00
README.md update readme again 2024-08-24 22:03:06 +02:00
rkgk.toml introduce tags, structs, and reticles 2024-10-22 21:39:04 +02:00

rakugaki - digital multiplayer graffiti

rakugaki is a multiplayer paint canvas with programmable brushes!

At the heart of rakugaki is the brush - a little program for manipulating pixels on a wall. Brushes are written in a tiny programming language called haku.

I wanna try it out!

Since the app is currently in very early alpha stages, there's no public instance at the moment.

You're free to spin up a server for your friends though! Here's the setup procedure for production instances.

# As of writing this, 1.81 is not yet released, so we have to use Rust nightly.
rustup toolchain install nightly-2024-08-11
rustup default nightly-2024-08-11
rustup target add wasm32-unknown-unknown

# We use `just` to wrangle the process of building the client-side WebAssembly and the server.
cargo install just

# Now it's time to run the backend!
just port=8080 profile=release

Then, you can connect to localhost:8080 to see the app in action.

For development, I recommend using cargo watch for live reloading. just defaults to a sensible development configuration. If you need to override the port, use the port variable as shown above.

cargo install cargo-watch
cargo watch -- just