|
Author |
Topic: speed of get/setPixel (Read 2346 times) |
|
mawend
|
speed of get/setPixel
« on: Jan 20th, 2003, 5:13am » |
|
My experience so far with the getPixel and setPixel methods is that they are quite slow. I tried writing a simple cellular automaton program using getPixel to query pixels and their neighbors, and it was brutally slow. Seems like it is much better to store pixel values in a big array yourself (as in Mike Davis' POLLEN examples), than to regularly query the screen with getPixel. Is this always true?
|
|
|
|
REAS
|
Re: speed of get/setPixel
« Reply #2 on: Feb 5th, 2004, 10:09pm » |
|
getPixel() and setPixel() no longer work! the new names are get() and set()
|
« Last Edit: Feb 5th, 2004, 10:09pm by REAS » |
|
|
|
|
|