Skip to content

Commit 66847c1

Browse files
committed
Amend documentation
1 parent c6379c0 commit 66847c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/about.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ permalink: /about/
55
categories: jruby_art update
66
---
77

8-
[JRubyArt][jruby_art] is a ruby wrapper for [processing-3.3.2][processing]. Create processing sketches in ruby using regular ruby-2.3 syntax, and use the magic [JRuby][jruby] to run them. You can use both rubygems and and regular processing libraries in your sketches. Features run, watch and live modes (uses pry).
8+
[JRubyArt][jruby_art] is a ruby wrapper for [processing-3.3.6][processing]. Create processing sketches in ruby using regular ruby-2.3 syntax, and use the magic [JRuby][jruby] to run them. You can use both rubygems and and regular processing libraries in your sketches. Features run, watch and live modes (uses pry). But you should also be able to use this gem with [propane][propane], you just need to class wrap examples as required.
99

1010
In general where there is a choice of using a java (processing) method or a regular ruby method you should choose the ruby method (eg use `rand` in place of `random`). Further you should prefer to use `JRuby` classes `Vec2D` and `Vec3D` instead of processings `PVector` class. Processing has a number of convenience methods which are not needed in ruby (eg 'pow' use `**` in JRubyArt) and some static methods have not been implemented in JRubyArt. For the processing `map` method prefer `map1d` ([see example][map1d]) or use `p5map` if you must. Another thing to watch is `color` which is implemented differently in JRubyArt ([see example][color]).
1111

1212
See also my [blog][blog] for more code ideas.
1313

1414
[jruby]: https://jruby.org
1515
[processing]: https://processing.org
16-
16+
[propane]: https://ruby-processing.github.io/propane/
1717
[jruby_art]: https://ruby-processing.github.io/index.html
1818
[color]: https://github.com/ruby-processing/JRubyArt-examples/blob/master/processing_app/basics/color/creating.rb
19-
[map1d]: https://github.com/ruby-processing/JRubyArt-examples/blob/master/processing_app/basics/arrays/array.rb
19+
[map1d]:https://github.com/ruby-processing/JRubyArt-examples/blob/master/processing_app/basics/arrays/array.rb
2020
[blog]:https://monkstone.github.io/

0 commit comments

Comments
 (0)