Unicorn hat, HD and Ubercorn


Is it possible to set all pixels between two points?


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


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


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


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 😊


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!


This is a rehash of my old binary / tix clock

I think angles is beyond my ability 😂