feedback icon indicating copy to clipboard operation
feedback copied to clipboard

Feature Request - Input - drawable canvas

Open triptych opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. Inspired by http://akkartik.name/lines.html Let's have an easily addable sketch input -> just like code or graphs, etc. add a cell that contains a "drawable" canvas to allow you to sketch ideas

Describe the solution you'd like 1)click the plus icon 2) choose "sketch" 3) an input that is a blank canvas with some rudimentary drawing tools like color or shapes. 4) make it responsive and be usable in other elements ( it's underlying value is data ) 5) just like any other input - if the user updates the canvas it's the same as if they edited a code cell - it's now a forkable diff.

Describe alternatives you've considered Create my own sketch and then try to add it manually.

Additional context Add any other context or screenshots about the feature request here. image

https://zipso.net/a-simple-touchscreen-sketchpad-using-javascript-and-html5/

triptych avatar Jun 12 '22 19:06 triptych

Something like this? https://observablehq.com/@d3/draw-me

mbostock avatar Jun 12 '22 20:06 mbostock

  • Yes! only everything exists in each cell ( self contained UI per cell )
  • And the image state persists between loads just like any editable cell. Perfect!

triptych avatar Jun 12 '22 22:06 triptych