Issues with some blocks from Pixels

Request a new command, feature, or improvement

Moderator: MSandro

Post Reply
SimpleSi
Posts: 330
Joined: Jul 2nd, '17, 13:47

Issues with some blocks from Pixels

Post by SimpleSi » Sep 27th, '17, 16:44

While doing the block documentation for Pixels I got confused by some of the blocks - something didn't seem right to me

I've slept on it and revised my thoughts



1. pixels

I can see that I can iterate over them and I can see that if you wanted to do an operation on each pixel in the image, then it would save having to construct a nested for y loop/for x loop

But I think its a bit confusing for newcomers to GP and should be placed at the end of the blocks

2. pixel color at x 1 y 1

and

3 set pixel color at x 1 y 1

I think they are not really needed as they are just shortcuts to
A. color of (pixel at x 1 y 1)

and

B set color of (pixel at x 1 y 1) to somecolor

but I don't think the benefits of those are worth it

I think it would be more consistent to stick to using the pixel type for all pixel operations


/Ramble Ends :)

Post Reply