No subject


Sun Nov 9 06:47:38 EST 2008


========================

== Shoebot from the console ==

Shoebot parses scripts written in the Nodebox/Drawbot language and
creates image output from those instructions. Running Shoebot scripts
through the console is straightforward:    sbot <yourscript.bot> -o
<outputfile>

You can specify the type of image through the output file extension:

    * .svg (Scalable Vector Graphics)
    * .ps (PostScript)
    * .pdf (Portable Document Format)
    * .png (Portable Network Graphics)

Shoebot will automagically generate the appropriate output from the
extension you specify.
For instance, to output the primitives.bot example to an SVG file, type:
   sbot /usr/share/shoebot/examples/primitives.bot -o test.svg

This is Shoebot's 'oneshot mode'. However, see also:
    * WindowedMode
    * Shoebot IDE
    * Socketserver - control your scripts from external sources
    * Python Module - run Shoebot from inside your Python scripts

========================


It's written in Ruby, and shouldn't be so hard to sugarize... are
there any other fine Ruby programs that have jumped the XO?
A ruby emulator bundled with Hackety Hack lessons also seems like an
excellent idea.

SJ


More information about the Sugar mailing list