2 ms·
http://wireframe.talltree.us/ http://wireframe.talltree.us/ This will almost certainly not help you. But maybe it will? It's a "drawing app" written in JavaScr
by neogodless 7y ago
http://wireframe.talltree.us/ http://wireframe.talltree.us/
This will almost certainly not help you. But maybe it will? It's a "drawing app" written in JavaScript over a decade ago. It does a lot of things wrong and is terrible. But it's also good enough that thousands of people have used it. (Well it's free and it's on the internet and it's been around for thousands and thousands of days.)
If there's any good, it did some mouse-tracking/behavior stuff that you might use, but you'd almost certainly be better off with modern canvas code. I wrote the above and the only library I used was a ~50 line AJAX library, because AJAX was new and shiny at the time. I don't recommend using that library. Then again, all of this 13+ year old code actually still works in modern browsers, so it's got that going for it.
To sum up...
Provide drawing tool selections and options
Track the user inputs and store the changes they make to the drawings
Figure out all the really hard stuff such as math!
I apologize for how unhelpful this probably is, but if you're into tearing apart someone's embarrassing source code, this will be a real treat!
EDIT: Thought so - I once made a super-basic "Paint-like" drawing page in JavaScript - source is easily viewed. http://www.talltree.us/projects/shapes/drawing.asp http://www.talltree.us/projects/shapes/drawing.asp
Would need a lot of work, i.e. a usable brush and a million other things.
- DoreenMichele 7y agoThanks. I'll look at it.