Doodle |
Contents
Purpose |
PurposeDoodle is a language for description of Origami diagram (paper folding). It is also a translator (a program in fact or compiler) making it possible to transform a doodle text into a diagram (PS, GIF, pdf, HTML...). Example: The languageA Doodle text is composed of a general description, followed by one or more step (like a traditional diagram). Each step is a succession of operators making it possible to calculate points of control or to describe the movements to carry out the step using these points. For example, a geometrical operator as \point_to_point calculates the points necessary to bring a point on another by a fold. An operator as \valley_fold draws a valley fold between two points (like those calculated before). Doodle allows a purely geometrical description of folding : each point is located in relation to the others in a precise and geometrical way. But the compiler (current version) does not control feasibility, nor the coherence of folding. All is possible if one can describe it geometrically. The language uses only ASCII characters and any other symbol. A simple text editor is enough, and the Doodle diagram can be sent by mail easily. The operators are rather explicit, it is thus possible to fold while following the text. But it is easier to transform it into diagram using the compiler. The compiler
The compiler takes in input a Doodle file, then analyzes it and generates
a graphic file. At this time, only the PS is generated, other formats are
aimed. ExampleHere is the most known folding : the pajarita :
InstructionsThe textual doodle file is a simple ASCII file and can be edited with your favorite program (notepad under Windows for example). Then, on command line, launch the program in the following way: Usage: doodle [-h] [-v] [-f format] [-o file] file -h : this short usage help -v : verbose mode -f format : specifies output format (default ps) known formats are : ps, text, graph -o file : uses `file' as the output file by default produces extension .ps file : input diagram file (.d)
Example : if your file is called crane.d, type the following command
"
Minimal ConfigurationWindowsAny basic PC is suitable. The memory required is negligible. No graphic configuration is necessary to write or compile a doodle file. On the other hand, you need an external tool to see the result (see specification of Ghostscript). UnixThe current version was compiled under Solaris and Linux. Other Unix should be able to be used. DevelopmentThis project is hosted by SourceForge . You can see the project state at project page on SourceForge.
The source code is managed with CVS. You can brownse anonymously on
tree
source.
When you have finished, generate an unified diff file and send it on the devel-list (compress it if too big). Three mailling lists could be used :
References
Lexicon
|
Updated page on May 29 01
© Osele 2001