On 2:59 PM, Joe Ohmer wrote:
Hello,
The following code works well but I don't understand why the mysteryEffect code
block changes the picture.
Doesn’t 64*(r/64) just equal r? (Same with g and b.) So this function should
not change the picture at all. But it does! If anyone can explain how and
On 18/11/10 00:49, Alan Gauld wrote:
"Joe Ohmer" wrote
The following code works well but I don't understand why
the mysteryEffect code block changes the picture.
Doesn’t 64*(r/64) just equal r?
That dependfs on which version of Python you use.
In earlier versions '/' meant integer division
"Joe Ohmer" wrote
The following code works well but I don't understand why
the mysteryEffect code block changes the picture.
Doesn’t 64*(r/64) just equal r?
That dependfs on which version of Python you use.
In earlier versions '/' meant integer division so
(1/64) * 64=> 0 * 64
(120/64)