We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Dynamic graphics
Page Index Toggle Pages: 1
Dynamic graphics (Read 910 times)
Dynamic graphics
Aug 11th, 2009, 1:07pm
 
Is it possible to create simple images which change according to the changes in a spreadsheet.  As simple as value 1 in a spreadsheet = 10mm diameter of a circle.

Re: Dynamic graphics
Reply #1 - Aug 11th, 2009, 3:23pm
 
yes, it is pretty easy...

load data out of a txt file for example : http://processing.org/reference/loadStrings_.html

and set the value to the size of the ellipse. MM depends on the size of your screen but i guess pixel would be ok too...

using map, http://processing.org/reference/map_.html
you can map your values, to the circleSize you want
Page Index Toggle Pages: 1