Hello,
what is a fast way to put pixels on the screen?
I have an array with coefficients between 0.0 and 1.0 and want to colour code them (0 white ... 1 blue).
For smaller numbers (up to 50 X 50) I put morphs (rectangles) into a big morph and just set their colour.
For small spots Form>>colorAt:put: might be an option, reading the coordinates for at: from a predefined array.
But I might want to use 2x2 pixel dots in a 3x3 raster.
I can think of using the examples in Pen for alternatives.
Any experience?
Thanks,
Herbert mailto:herbertkoenig@gmx.net
Hi Herbert,
what's about bitblit ? It has many possibilities.
Regards
Hans
Am 31.01.2007 um 16:18 schrieb Herbert König:
Hello,
what is a fast way to put pixels on the screen?
I have an array with coefficients between 0.0 and 1.0 and want to colour code them (0 white ... 1 blue).
For smaller numbers (up to 50 X 50) I put morphs (rectangles) into a big morph and just set their colour.
For small spots Form>>colorAt:put: might be an option, reading the coordinates for at: from a predefined array.
But I might want to use 2x2 pixel dots in a 3x3 raster.
I can think of using the examples in Pen for alternatives.
Any experience?
Thanks,
Herbert mailto:herbertkoenig@gmx.net
squeak-dev@lists.squeakfoundation.org