scrib
- 7 Devlogs
- 13 Total hours
Scrib is a browser drawing app written in Rust (WASM + WebSocket). Everyone connected to the server draws on one shared, in-memory canvas.
Scrib is a browser drawing app written in Rust (WASM + WebSocket). Everyone connected to the server draws on one shared, in-memory canvas.
ok so finally!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
selection tools works now and i have also changed room based to a single canvas type where everyone who open the website draw on the same canvas
and i have also added the ability to control brush tool smoothness stuff
took me way to long to be able to do it and i had to use a little bit of ai (I’m not a shamed)
there are still too many bugs but im not gonna fix them im so f*cking bored of this project
finally i have added the ability to select and drag
now the user wont have to delete if he want’s to move something
this took quite some time
data persistence between session
im trying to make this serverless but i dont know how to
and there are so many problem with the selection tool
and i have also put more logic to the rust wasm side
i have added a minimal websocket
so multiple user can draw on a single canvas
i have made the canvas infinite
added some basic shapes like reac, circle, arrow
also if grid mode is enable the shape will snape to the grid
also make the brush strock little better but it’s not perfect
i have also updated the ui
added erase tool
5 color palate
and made the brush not smooth
but i have a vision
i have added a simple html frontend
using wasm we can now draw on the web browser
I’m build an freehand algo in rust
the algorithem which excalidraw uses for the smooth brush tool.