CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 08 Aug 2025 19:42:25 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100521054701
location: https://web.archive.org/web/20100521054701/https://github.com/jashkenas/ruby-processing/tree/0.9/
server-timing: captures_list;dur=0.663420, exclusion.robots;dur=0.018982, exclusion.robots.policy;dur=0.007335, esindex;dur=0.009465, cdx.remote;dur=122.716670, LoadShardBlock;dur=324.540312, PetaboxLoader3.datanode;dur=146.715552, PetaboxLoader3.resolve;dur=140.225357
x-app-server: wwwb-app239
x-ts: 302
x-tr: 607
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app239; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Fri, 08 Aug 2025 19:42:26 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Fri, 21 May 2010 05:47:00 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "00fa2db8409e3719c8696fdd365d60fd"
x-archive-orig-x-runtime: 93ms
x-archive-orig-content-length: 29566
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 21 May 2010 05:47:01 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 21 May 2010 05:47:01 GMT", ; rel="memento"; datetime="Fri, 21 May 2010 05:47:01 GMT", ; rel="next memento"; datetime="Sun, 23 May 2010 16:30:34 GMT", ; rel="last memento"; datetime="Sun, 23 May 2010 16:30:34 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_15_20100521043612_crawl100-c/52_15_20100521054637_crawl101.arc.gz
server-timing: captures_list;dur=0.649195, exclusion.robots;dur=0.022140, exclusion.robots.policy;dur=0.009496, esindex;dur=0.012849, cdx.remote;dur=112.150878, LoadShardBlock;dur=230.806515, PetaboxLoader3.datanode;dur=202.982529, PetaboxLoader3.resolve;dur=353.091717, load_resource;dur=371.615856
x-app-server: wwwb-app239
x-ts: 200
x-tr: 785
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
jashkenas's ruby-processing at 0.9 - GitHub
jashkenas / ruby-processing
click here to add a description
click here to add a homepage
Sending Request…
Code as Art, Art as Code. Processing and Ruby are meant for each other. — Read more
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Sun Apr 13 10:19:01 -0700 2008 | Ruby-Processing 0.7 coming on through. Streamli... [jashkenas] |
![]() |
README | Loading commit data... ![]() |
|
![]() |
core.jar | ||
![]() |
library/ | Mon Apr 21 09:23:34 -0700 2008 | Removing NodeGraph from the source until it's i... [jashkenas] |
![]() |
license.txt | Sun Apr 13 10:19:01 -0700 2008 | Ruby-Processing 0.7 coming on through. Streamli... [jashkenas] |
![]() |
ruby-processing.rb | ||
![]() |
samples/ | ||
![]() |
script/ | ||
![]() |
specs/ | Fri Apr 25 07:29:13 -0700 2008 | Specs are running better. Better script/open (s... [jashkenas] |
README
____ _ ____ _ | _ \ _ _| |__ _ _ | _ \ _ __ ___ ___ ___ ___ ___(_)_ __ __ _ | |_) | | | | '_ \| | | |_____| |_) | '__/ _ \ / __/ _ \/ __/ __| | '_ \ / _` | | _ <| |_| | |_) | |_| |_____| __/| | | (_) | (_| __/\__ \__ \ | | | | (_| | |_| \_\\__,_|_.__/ \__, | |_| |_| \___/ \___\___||___/___/_|_| |_|\__, | |___/ |___/ This is a Ruby wrapper that lets you harness Processing’s awesome power. It makes Processing act in a slightly more Shoes-like way, and replaces the ol’ crusty faux-Java-1.4-syntax sandals that Processing usually wears with some new Ruby slippers. So, here’s what you’ll need to make it work: Download the most recent JRuby, and make sure that the jruby command is reachable in your path. From inside this folder, you can run the samples like so: jruby samples/jwishy.rb Because it’s Ruby, you can also load the samples via jirb, and then alter them on the fly. Live coding, anyone? Changelog: Revision 0.9 * Inspired by NodeBox, Ruby-Processing now sports the ability to have sliders control numeric variables in your sketches. If you're using an instance variable, say, @speed, to control the speed of your sketch. has_slider :speed Will bring up a panel alongside with a slider that controls the speed. It can take a range of values as an optional parameter. Check out and run jwishy.rb for an example. * Multi-platform app export! Exporting your Ruby-Processing apps will now create executable apps for Mac/Windows/Linux. * Live coding support. Now you can do script/live path/to/sketch.rb to open up an interactive session with your sketch available as @app. * Nick Sieger donated an additional sample. Revision 0.8 * Ruby-Processing can now export Mac applications! Running script/application my_sketch.rb will create MySketch.app, complete with all of its data and libraries. If you have a .icns file inside of your data folder, it will become the app's icon. * Added a mathematical Fern sample. It's a port of Luis Correia's java original, with algorithms from Wikipedia. * Sketches now have a library_loaded? method, so that you can check if a library has been started successfully, and conditionally enable things. (Good for OpenGL.) * The Boids library is now about 40% faster. It also comes with an example in library/boids/samples. * Specs have been started both for exporting and for Ruby- Processing itself. Revision 0.7 * Thanks to MenTaLguY, once again, for work on the JRubyApplet, OpenGL is now a first-class citizen. If you're using OpenGL in your sketch, the applet exporter should just work. It has also been moved and renamed, so now you can use it like: script/applet my_sketch.rb * An app generator has been added for getting started. It'll give you a template for an empty Ruby-Processing sketch, with setup and draw methods and all that. Usage: script/generate my_sketch 800 600 Will create a file called my_sketch.rb, with a title of "My Sketch", 800 pixels wide and 600 pixels tall. Width and height are optional. * Ruby-Processing now includes its first pure-Ruby library, a port of Tom de Smedt's "Boids", for algorithmic flocking. Revision 0.6 * Now we're baking up some applet pie. The applet_tree script will take your Ruby-Processing sketch, export it as an applet, and generate an HTML page for you to post. It's way easier now than it would have been before. (thanks to MenTaLguY.) Use it like so: ./applet_tree my_sketch.rb But there are caveats: Applets don't work with native libraries, so no OpenGL. If you're requiring other files that aren't part of the standard Ruby distro, you'll need to include them as libraries, which means: Drop them in a folder inside of "library". Use load_ruby_library("folder_name") or load_java_library() to load 'em. These methods replace the previous load_library(). Ruby libs will load the .rb with the same name as the folder. Java libs will just load up all of the .jars in the folder. Demos — all of the standard samples are available as applets: https://fiercefrontiers.com/applets/jwishy/ https://fiercefrontiers.com/applets/tree/ https://fiercefrontiers.com/applets/circle_collision/ https://fiercefrontiers.com/applets/reflection/ Revision 0.5 * Ruby-Processing gets easy native library support. Now you can take Processing libraries, drop them in the library folder, and load them up like so (inside your sketch): load_library "opengl" It works by loading up all of the .jars in that folder, and setting the java.library.path to that folder, so that the native extensions can be found. * Full Screen OpenGL demo added, but you'll need to copy over the OpenGL library to use it. Revision 0.4 * Ruby-Processing goes fullscreen. Just pass :full_screen => true into the options when you’re starting up your app. Like so: MyApp.new(:title => "MyApp", :full_screen => true) * Because Processing has just so many methods, you can now search through them: find_method "method_name" Revision 0.3 * Processing::App.current will give you a handle on the app. (Useful in jirb). * samples/jwishy.rb has some new hooks for live coding. * circle_collision and tree samples added (Joe Holt)