Ruby

For general discussion related FlowStone
Post Reply
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Ruby

Post by tulamide »

It seems that with Exo programming C++, Nubeat7 Juce/C++, MyCo working on Flowstone (thank whatever entity you believe in!), KG in exam-stress and TheOm (and others) only rarely on here, I am the only one left to answer Ruby questions.

Please don't hate me for not answering each question, but I just don't have the time to answer all. I will pick the ones that are (from my point of view) quick to answer. Soon, KG will be back and the situation more relaxed. Until then, don't get mad ;)
"There lies the dog buried" (German saying translated literally)
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Ruby

Post by RJHollins »

I, and probably most everyone here, hope you are not getting hate directed toward you, regardless of help or not.
User avatar
kortezzzz
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Ruby

Post by kortezzzz »

And I hope you eventually won't hate us for molesting you with so many questions :lol: I knew that someday the talented guru gang would leave to other platform. Wish them good luck and in addition, wish to find your glorious comments here as long as the FS format would be relevant.

Thanks :)
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: Ruby

Post by Spogg »

Yesterday I had the idea of starting a Topic called Ruby and now here it is :o

I thought it would possibly be useful to confine Ruby issues to one huge thread rather than have them spread all over the Forum. In this way anyone wanting to learn would find a useful resource in one place, as well as get answers and help.

It will be up to everyone individually whether they want to do this or not of course.

Finally I really really do appreciate all the help and contributions I've had on other issues tulamide. This is not Facebook so we can't click on 'Like' but I would if I could!

Cheers

Spogg
User avatar
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: Ruby

Post by martinvicanek »

Can I use this thread for a question: Is there a Ruby method to access pixel vaules of a bitmap image, something like getPixel(x,y) and setPixel(x,y,color)? I know there are prims for just that (although I never got them to work :oops:), however it would be so much more versatile to have this ability in Ruby.
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Ruby

Post by tulamide »

martinvicanek wrote:Can I use this thread for a question: Is there a Ruby method to access pixel vaules of a bitmap image, something like getPixel(x,y) and setPixel(x,y,color)? I know there are prims for just that (although I never got them to work :oops:), however it would be so much more versatile to have this ability in Ruby.

Unfortunately not. There is quite some functionality missing for graphics, especially that allowing to alter something. I can think of many more, like transfer functions for graphic paths (rotation, shifting, skewing, etc.). However, the Bitmap class only offers
:width
:height
:widthPixels
:heightPixels
"There lies the dog buried" (German saying translated literally)
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Ruby

Post by tester »

As far I remember, there is (or at least was) searching problem on this forum, this many ruby topics are forgotten. To find them - use google, and include: keywords (or phrases in quotation marks), forum user names (if you remember situations that involve you or someone else) and at the end - site:dsprobotics.com, like this:

ruby array transpose tester site:dsprobotics.com
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Post Reply