Color math in Code Blocks

I'm really impressed with the Tinkercad Code Blocks so far! One thing that would be really helpful to create neat designs is the ability to create colors from RGB values through math in the code. That would let us create multi-colored objects by modifying the values in loops (e.g., shifting the color value during each loop in the basket example generator could create a neat rainbow-colored design). Without the ability to iterate through colors, it's impossible to update colors in loops.

Thanks for implementing code blocks -- it's another great tool for teaching coding!


Please sign in to leave a comment.