Skip to content

ruby-processing/JRubyArt-examples

Repository files navigation

JRubyArt-examples for JRubyArt-2.2.0+

Replaces AppRender with GfxRender, and removal of bashisms in autorun Rakefiles

Description

Like the original ruby-processing, JRubyArt is like a DSL for vanilla processing, so sketches can be written as bare sketches (ie they do not require a class wrapper, JRubyArt does that for you as does vanilla processing cf propane). Here you will find many of the processing example sketches have been translated to ruby as bare sketches) but you can add a class wrapper if that suits you. You should also checkout the Nature of Code Examples in ruby and for the beginner Learning Processing with Ruby for even more examples. Many sketch folders includes autorun Rakefiles, and some of these can be run from the root directory as a demo:-

  1. in a console cd k9_samples directory
  2. and rake to run all the core examples (excludes gem examples etc)
  3. rake hype to just run the hype library examples (depends on an installed hype library).
  4. rake wordcram to just run the wordcram gem examples (depends on an installed ruby_wordcram gem).
  5. rake pbox2d to just run the pbox2d gem examples (depends on an installed gem).

Partial Catalogue (for the lazy)

  1. Basic

    1. structure
    2. objects
    3. arrays
    4. input
    5. shape
    6. image
    7. control
  2. Topics

    1. shaders
    2. lsystems
    3. advanced data
  3. Libraries

    1. fastmath
    2. vecmath
    3. control-panel
    4. video
  4. Gems

    1. PBox2D
    2. Geomerative
    3. Toxiclibs
    4. Wordcram
    5. Sunflow raytracing
    6. Skatolo Gui
  5. Java Libraries

    1. Hype-processing
    2. Hemesh
    3. PixelFlow
    4. LiquidFunProcessing
    5. Handy
  6. Others

    1. WOVNS patterns
    2. Grid Method

User contributions are most welcome

Contributions add your own