I have just updated my jEdit commando file for ruby processing, to include watch, create, export app and export applet options. I've yet to figure a way for the buffer window to re-open with a newly created ruby processing applet script. However it is no big deal to open the file using the jEdit file chooser. Here are some pics showing an example of a newly created hello_world.rb being edited live using watch:-
The newly created hello_world.rb file open for editing in jEdit
Running the rp5 commando file, setting the rp5 run option to watch.
The running applet (watch mode)
Live editing the running applet, note that you can set/reset the applet size, and the the applet will adjust on save.
The running applet (after "saving") still in the original watch mode/thread.
To make things as easy as falling off a bike you could save the following rp5.bsh script in the .jedit/macros folder
// rp5.bsh
new console.commando.CommandoDialog(view,"commando.rp5");
Then you can just click on the macro/rp5 menu, remember to check the commando settings as these are saved during the current jEdit session.
Experiments with ruby-processing (processing-2.2.1) and JRubyArt for processing-3.0
Sunday, 11 April 2010
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
-
▼
2010
(73)
-
▼
April
(10)
- Using the Voronoi library in ruby processing
- Moire patterns from custom bar shape Context free DSL
- Faux barcode using ruby-processing Context Free DSL
- Adding a custom terminal in ruby-processing contex...
- How to Draw a Tree in Processing
- Terse Code to use file chooser in Ruby Processing
- Another funky random sketch with perlin noise
- An Translation Exercise (Very Clever Pseudo 3D Ani...
- Live Editing Ruby-Processing from jEdit
- Plasma fractal (and carpet)
-
▼
April
(10)
About Me
- monkstone
- I have developed JRubyArt and propane new versions of ruby-processing for JRuby-9.1.5.0 and processing-3.2.2
No comments:
Post a Comment