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.
IndexSuggestions & BugsSoftware Bugs › point() appears broken.
Page Index Toggle Pages: 1
point() appears broken. (Read 870 times)
point() appears broken.
Apr 22nd, 2005, 11:08pm
 
point(), as used in the examples on this reference page, appears broken.

http://processing.org/reference/colorMode_.html

noStroke();
colorMode(RGB, 100);
for(int i=0; i<100; i++) {
 for(int j=0; j<100; j++) {
   stroke(i, j, 0);
   point(i, j);
 }
}

As an aside, set() is about 5x faster, and
perhaps should be used in these examples anyway.
Re: point() appears broken.
Reply #1 - Apr 23rd, 2005, 1:15am
 
what operating system etc are you using? this code works fine for me, though i have a feeling we're running into a java2d issue.. (unless you'r changing the renderer?)
Re: point() appears broken.
Reply #2 - Apr 23rd, 2005, 1:58am
 
I'm using Windows 2000 with the expert version (Java 1.4.1_03).  I'll try it at home (XP, inexpert version) and see if that fixes it...


EDIT:

Ah yes, that fixes it.  Must be the version of Java I'm using at work.
Re: point() appears broken.
Reply #3 - Jul 28th, 2005, 5:30am
 
k, i'm gonna assume this is just a java bug that's been fixed since 1.4.1, so closing the thread.
Page Index Toggle Pages: 1