Unicorn hat, HD and Ubercorn


#1

Is it possible to set all pixels between two points?

So

0,0,r,g,b to 9,9,r,g,b would light a 10x10 square?

Or

0,0,r,g,b to 0,9,r,g,b would light a 1x10 line?


#2

You would need to write your own function to do this, but it should be reasonably straightforward.

Bonus points if you can specify different colours and have it automatically blend them :D


#3

cool, thanks for the pointers.

This is for the ubercorn clock, I’ve got a bunch of supplies on the way, I’m currently 3D printing mounts and while I wait for everything I am attempting to condense my old code.

This could be a nice little side project 😊


#4

Oooh drawing lines at non-90-degree angles is a fun little challenge if you’re doing an analog clock face. You can always have a peek at some of the drawing libraries out of their- such as Adafruit GFX- if you get lost. I know I couldn’t pull line drawing code off the top of my head!


#5

This is a rehash of my old binary / tix clock

I think angles is beyond my ability 😂