For those interested, I extracted HotCocoa::Graphics, started cleaning it up, added some specs and examples so you can enjoy the nice DSL built on top of Core Graphics. Feel free to fork and play with the repo: http://github.com/mattetti/macruby_graphics Examples and output in the readme. If you don't feel like contributing code, contributing examples and documentation would be awesome! - Matt p.s: it's s work in progress and it will probably take me a little while before I get decent code coverage. Also, Ryan David, note that used minitest ;)
Hi Matt, Seems to work very nicely (now all we need are some routines for audio, 3D and video and a demo-driver and we can give Processing some reasonable competition! :-). I do notice some interesting error messages that get output on any of the examples though: jkh@il0102a-dhcp70-> macruby rope_hair_example.rb 2010-07-13 17:04:03.165 macruby[32109:903] [QL] image sp_zoomp_handle not found 2010-07-13 17:04:03.167 macruby[32109:903] [QL] image sp_zoomp_track_left not found 2010-07-13 17:04:03.167 macruby[32109:903] [QL] image sp_zoomp_track_center not found 2010-07-13 17:04:03.168 macruby[32109:903] [QL] image sp_zoomp_track_right not found Some resource missing? - Jordan On Jul 13, 2010, at 12:22 AM, Matt Aimonetti wrote:
For those interested, I extracted HotCocoa::Graphics, started cleaning it up, added some specs and examples so you can enjoy the nice DSL built on top of Core Graphics. Feel free to fork and play with the repo: http://github.com/mattetti/macruby_graphics
Examples and output in the readme. If you don't feel like contributing code, contributing examples and documentation would be awesome!
- Matt
p.s: it's s work in progress and it will probably take me a little while before I get decent code coverage. Also, Ryan David, note that used minitest ;) _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi Jordan, This is a bug in QuickLook (they have a hidden unused class using inexistent resource files). A radar has been filed already about that. You can safely ignore the warnings for now. Laurent On Jul 13, 2010, at 5:05 PM, Jordan K. Hubbard wrote:
Hi Matt,
Seems to work very nicely (now all we need are some routines for audio, 3D and video and a demo-driver and we can give Processing some reasonable competition! :-). I do notice some interesting error messages that get output on any of the examples though:
jkh@il0102a-dhcp70-> macruby rope_hair_example.rb 2010-07-13 17:04:03.165 macruby[32109:903] [QL] image sp_zoomp_handle not found 2010-07-13 17:04:03.167 macruby[32109:903] [QL] image sp_zoomp_track_left not found 2010-07-13 17:04:03.167 macruby[32109:903] [QL] image sp_zoomp_track_center not found 2010-07-13 17:04:03.168 macruby[32109:903] [QL] image sp_zoomp_track_right not found
Some resource missing?
- Jordan
On Jul 13, 2010, at 12:22 AM, Matt Aimonetti wrote:
For those interested, I extracted HotCocoa::Graphics, started cleaning it up, added some specs and examples so you can enjoy the nice DSL built on top of Core Graphics. Feel free to fork and play with the repo: http://github.com/mattetti/macruby_graphics
Examples and output in the readme. If you don't feel like contributing code, contributing examples and documentation would be awesome!
- Matt
p.s: it's s work in progress and it will probably take me a little while before I get decent code coverage. Also, Ryan David, note that used minitest ;) _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Haha give me a couple of hour and I'll add wrappers for all that and make the DSL more Processing like ;) I'm a bit scared of CoreAudio but I think that CoreAnimation could be potentially nicely wrapped to create a flash like solution but without the things we all hate. A demo-driver and video routines shouldn't be to hard, not sure about 3D tho. Looking at all these nice low level APIs, I really wonder why Apple didn't create more nice obj-c wrappers already. - Matt On Tue, Jul 13, 2010 at 5:05 PM, Jordan K. Hubbard <jkh@apple.com> wrote:
Hi Matt,
Seems to work very nicely (now all we need are some routines for audio, 3D and video and a demo-driver and we can give Processing some reasonable competition! :-). I do notice some interesting error messages that get output on any of the examples though:
jkh@il0102a-dhcp70-> macruby rope_hair_example.rb 2010-07-13 17:04:03.165 macruby[32109:903] [QL] image sp_zoomp_handle not found 2010-07-13 17:04:03.167 macruby[32109:903] [QL] image sp_zoomp_track_left not found 2010-07-13 17:04:03.167 macruby[32109:903] [QL] image sp_zoomp_track_center not found 2010-07-13 17:04:03.168 macruby[32109:903] [QL] image sp_zoomp_track_right not found
Some resource missing?
- Jordan
On Jul 13, 2010, at 12:22 AM, Matt Aimonetti wrote:
For those interested, I extracted HotCocoa::Graphics, started cleaning it up, added some specs and examples so you can enjoy the nice DSL built on top of Core Graphics. Feel free to fork and play with the repo: http://github.com/mattetti/macruby_graphics
Examples and output in the readme. If you don't feel like contributing code, contributing examples and documentation would be awesome!
- Matt
p.s: it's s work in progress and it will probably take me a little while before I get decent code coverage. Also, Ryan David, note that used minitest ;) _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
on the processing sidetrack... have you had a look at field? http://openendedgroup.com/field/wiki run processing with no processing... in Python, Clojure, Scala... and we might one day have Ruby in! too bad its Java based again... 2010/7/14 Vincent Isambart <vincent.isambart@gmail.com>
Looking at all these nice low level APIs, I really wonder why Apple didn't create more nice obj-c wrappers already. For audio and video you'll have to wait for Apple to bring the APIs they added to iOS 4 to Mac OS (probably for 10.7) ;-)
MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Looked at the source. They really need to break that project out into separate libraries/jars (it includes everything but the kitchen sink). Some of the stuff looks interesting though, and might make interesting individual projects. Some looks like it might have been written by a college student who was just hacking up Java for the first time. There's always JRuby if the goal is just to use Ruby on Macs ( http://jruby.org/ ), even though it might not work for everything you need it to do. If you were to convert it to MacRuby you might just want to start over from scratch. Gary On 7/14/10 11:12 AM, Louis-Philippe wrote:
on the processing sidetrack... have you had a look at field? http://openendedgroup.com/field/wiki
run processing with no processing... in Python, Clojure, Scala... and we might one day have Ruby in! too bad its Java based again...
2010/7/14 Vincent Isambart <vincent.isambart@gmail.com <mailto:vincent.isambart@gmail.com>>
> Looking at all these nice low level APIs, I really wonder why Apple didn't > create more nice obj-c wrappers already. For audio and video you'll have to wait for Apple to bring the APIs they added to iOS 4 to Mac OS (probably for 10.7) ;-) _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org <mailto:MacRuby-devel@lists.macosforge.org> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (6)
-
Gary Weaver
-
Jordan K. Hubbard
-
Laurent Sansonetti
-
Louis-Philippe
-
Matt Aimonetti
-
Vincent Isambart