Is it possible to detect the color of a pixel in kano code?


#1

i wanted to code things like Langston ant but i could not figure out how to check what color any given pixel is. i was wondering if it is possible.


#2

Hey @dogcatcowpig. It’s not currently possible to get the color of a pixel… but you could create a system like Langton’s ant if you make and update an array of color values then draw them to the screen.

Here’s a starting point for you! https://apps.kano.me/remix/wandering-pixels_4


#3

alright thank you. i have not used lists yet so i will have to find a tutorial on it.