Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

https://wootboard.com

Draw something and share it.

Like jsFiddle for drawings. In need of a rewrite and mobile support, but pretty useful if you just want to scribble something down and share it. And I like the borderless canvas :)




Ah ! This is really cool :) Do you mind if I ask what this is built on ?


Thanks. It's just plain JavaScript and some jQuery. It uses SVG so the browser takes on some of the work you'd have to do yourself with canvas, like having the shapes as their own element and detecting mouse events. This also makes it easy to export as SVG (just append .svg to the URL). Server stuff and a small backend runs on minimal PHP and MySQL, no frameworks. The data is stored in a JSON-based format. PNGs are generated from the SVG with ImageMagick. Keyboard shortcuts with jQuery.hotkeys.

Could be more modularized to allow touch input, multiplayer editing, use as a library etc., thus the needed rewrite :>

The endgame for this could be something like https://www.figma.com. They have collaborative editing, use canvas to completely do their own thing for graphics and React+Redux for the interface. Quite amazing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: