sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.17k stars 216 forks source link

slides/whiteboard: implement tool to draw shapes #6424

Open williamstein opened 1 year ago

williamstein commented 1 year ago

It would be very useful to have a tool to at least draw some basic shapes, especially now that we have slides.

This would be another tool that's accessible from the toolbar, with a bunch of presets which can be customized.

The parameters:

Here are some screenshots showing what similar software provides for shapes.

Powerpoint:

image

Google Slides:

image

Miro:

image image image

(miro has a lot of shapes!)

Figma:

image

This react library might be a good way to render many of the shapes: https://www.npmjs.com/package/react-awesome-shapes

mforbes commented 1 year ago

One feature that is really nice about Notability is that if you draw a shape and then hold it, the curve will snap to a real shape. Thus, if you draw an approximate line, then hold, the line will become smooth. Likewise for circles, squares etc.