Phun/Algodoo generator in Ruby
3 posts • Page 1 of 1
Phun/Algodoo generator in Ruby
I wrote a simple Phun/Algodoo generator in Ruby. It can read phn or phz file and allows to add arbitrary objects easily
The code can be downloaded from http://www.jurasz.de/sites/default/files/code/phun.zip.
Example with 1000 objects

The whole story under http://www.jurasz.de/node/74.
- Code: Select all
ph = Phun::Phn.new("Some.phn" )
ph.addGeom('Box', :pos => Array.rand(2, 2), size => => Array.rand(2, 2))
The code can be downloaded from http://www.jurasz.de/sites/default/files/code/phun.zip.
Example with 1000 objects

The whole story under http://www.jurasz.de/node/74.
- jeremiasz
- Posts: 2
- Joined: Tue Feb 16, 2010 12:13 pm
Re: Phun/Algodoo generator in Ruby
You can do the same thing in algodoo's console, too 
But it's very cool. I would love to see more things like this.
But it's very cool. I would love to see more things like this.

-

KarateBrot - Posts: 825
- Joined: Mon Aug 31, 2009 7:32 pm
- Location: Germany
Re: Phun/Algodoo generator in Ruby
I would also like to see more. Maybe something interesting could arise from this?

-

Paradigm 29 - Posts: 284
- Joined: Tue Sep 01, 2009 12:06 am
- Location: Houston, Tx
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests



