You are browsing as a guest. Sign up (or log in) to start making projects!

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.

Ship #1

Scrib is a browser drawing app written in Rust (WASM + WebSocket). Everyone connected to the server draws on one shared, in-memory canvas.

so what i have done is wrote the freehand algorithm(excalidraw brush algo) in rust.

and i have used websocket so that everyone can use a single canvas and be able to draw together
it’s written in rust and it’s very fast

  • 7 devlogs
  • 13h
  • 7.43x multiplier
  • 86 Stardust
Try project → See source code →
Open comments for this post

5h 20m 2s logged

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

2
0
118
Open comments for this post

3h 49m 22s logged

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

1
0
78
Open comments for this post

1h 19m 42s logged

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

0
0
15
Open comments for this post

30m 17s logged

I’m build an freehand algo in rust
the algorithem which excalidraw uses for the smooth brush tool.

0
0
18

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…