Random Walker (Hour of Code)

Hello. I’m new to coding and new to processing. I found the Happy Coding forum and began working my way through the Hour of Code tutorial. I love the Random Walker example but can’t figure out how to do it in color instead of shades of grey.

I’d appreciate it if someone could help me out with some advice.

Jeff

1 Like

You can use the stroke() function together with the point() function.

Stroke() can take three parameters too, which lets you draw something colorful.

Let me know if it helps.

1 Like

Thanks @ascyrax! That did help. I followed your advice and then created variables for red, blue, and green and added some randomization so the color would change over time. It’s looking good. Thanks again!

1 Like

Most Welcome :hugs: