Draw.txt is a project mainly written in JavaScript, based on the MIT license.
Draw onto a monospaced-font canvas.
A very simple drawing application for drawing a text file. Try the live demo
Each character is a pixel and shapes are drawn with monospaced characters. The final product can be saved as a .txt file.
The current version features the ability to draw boxes and create lines of text, and sports an unlimited history for some snazzy undo/redo action.
I wanted a way to draw some very basic text-based documentation for some of my projects; e.g. to create simple shapes to show object/class relationships. Furthermore I wanted them stored in plain .txt files.
Boxes:
Text:
Most commands are supported by the history, so undo and redo will work.
Small toolbar/widget for selecting the type of shape to draw.
Ability to open a .txt file and discover shapes, such as boxes and text areas, turning them into editable objects.
Free-drawing
Draw on mouse-move for arbitrary shapes
Lines
Triangles.
* /
* * /
* * /
* * /
* * /________
* * * * * *
Circles
x x * *
x x * *
x x * *
x x * *
x x * *
x x * *
Other?
One of my dreams for this app was the ability to link shapes with lines so when a shape is moved all connected lines move with it.
What would a new project like this be without a good bug or two?
Right now the History is a bit shaky...sometimes commands don't undo or redo exactly how you'd expect.