|
1 | 1 | # JRubyArt-examples for JRubyArt-1.1+ |
2 | | -Example sketches for JRubyArt, feel free to contribute your own examples to the contributed section:- |
| 2 | +JRubyArt-examples |
| 3 | +================ |
3 | 4 |
|
4 | | -The sketches under the processing_app folder approximate to those included with vanilla processing, with the addition of some JRubyArt library sketches. External library sketches |
5 | | -corresponding to vanilla processing contributed libraries and gem libraries are organised in the external_library folder. |
| 5 | +Many of the vanilla processing example sketches have been translated to ruby-processing, and they are mainly written as 'bare' sketches (ie not class wrapped) in keeping with the original processing. At runtime these sketches the get wrapped into a Sketch class. Should you prefer you can still write class wrapped sketches, these will work equally well with ruby-processing. Certain sketches must be run with JRuby-Complete (mainly `load_image` and `shader` sketches), this is a [java permissions thing with jruby][]. You should also checkout the [Nature of Code Examples in ruby][] and for the beginner [Learning Processing with Ruby][] for even more examples. |
| 6 | +Includes autorun Rakefiles, in a console cd outer directory and 'rake' to run all autorun examples or eg 'rake shaders' to just run the shader examples. |
6 | 7 |
|
| 8 | +### Partial Catalogue (for the lazy) |
| 9 | + |
| 10 | +1. [Basic][] |
| 11 | + |
| 12 | + 1. [structure][] |
| 13 | + 2. [objects][] |
| 14 | + 3. [arrays][] |
| 15 | + 4. [input][] |
| 16 | + 5. [shape][] |
| 17 | + 6. [image][] |
| 18 | + 7. [control][] |
| 19 | + |
| 20 | +2. [Topics][] |
| 21 | + |
| 22 | + 1. [shaders][] |
| 23 | + 2. [lsystems][] |
| 24 | + 3. [advanced data][] |
| 25 | + |
| 26 | +3. [Libraries][] |
| 27 | + 1. [fastmath][] |
| 28 | + 2. [vecmath][] |
| 29 | + 3. [control-panel][] |
| 30 | + 4. [video][] |
| 31 | + |
| 32 | +4. [JBox2D][] |
| 33 | + |
| 34 | +### User contributions are most welcome |
| 35 | +[Contributions][] add your [own][] |
| 36 | + |
| 37 | +[Learning Processing with Ruby]:https://github.com/ruby-processing/learning-processing-with-ruby |
| 38 | +[Nature of Code Examples in ruby]:https://github.com/ruby-processing/The-Nature-of-Code-for-JRubyArt |
| 39 | +[Contributions]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/contributed |
| 40 | +[own]:https://github.com/ruby-processing/JRubyArt-examples/blob/master/CONTRIBUTING.md |
| 41 | +[Basic]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/basics |
| 42 | +[structure]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/basics/structure |
| 43 | +[objects]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/basics/objects |
| 44 | +[arrays]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/basics/arrays |
| 45 | +[control]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/basics/control |
| 46 | +[shape]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/basics/shape |
| 47 | +[input]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/basics/input |
| 48 | +[image]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/basics/image |
| 49 | +[Topics]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/topics |
| 50 | +[lsystems]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/topics/lsystems |
| 51 | +[advanced data]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/topics/advanced_data |
| 52 | +[shaders]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/topics/shaders |
| 53 | +[Libraries]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/library |
| 54 | +[fastmath]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/library/fastmath |
| 55 | +[vecmath]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/library/vecmath |
| 56 | +[video]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/processing_app/library/video |
| 57 | +[control-panel]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/contributed/jwishy.rb |
| 58 | +[JBox2D]:https://github.com/ruby-processing/JRubyArt-examples/tree/master/external_library/ruby_gem/jbox2d |
0 commit comments