If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Using Ruby for Drawing
1 post
• Page 1 of 1
Using Ruby for Drawing
I'm doing an experiment where I'm trying to use Flowstone's drawing features in Ruby to create a sort of Microsoft paint. I'm not the best programmer in the world, and I'm sorta new to Flowstone. What my idea was, was that I could tell Ruby to draw a new circle every time the mouse moves (with all the circles layered on top of each other, it would make a line). The way I could have this be done is by creating some type of loop where the draw method is acted on repeatedly. Now, for this to work, the draw method would have to technically be called every time the loop repeats itself. The issue I'm having is that it seems the draw method is a one-time thing, meaning it's either in the code or it's not, so it can't really be turned on and off, and it can't be called more than once without just writing it out again. Insight? Thoughts? Just any sort of help would be great. Thanks!
-Chris
-Chris
- chriso777
- Posts: 5
- Joined: Tue Nov 05, 2013 2:16 pm
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 64 guests