A few more: another heart (unsure which is better, this might be with tuning), and a 7 segment LED for Numbers
(and yeah, we could do a 14 or even 16 segment LED, and have alphanumerics…)
Absolutely need sizing work, so we can use them smaller.
Heart2 and 7SegmentLED
function heart2(x,y,size) {
// From: https://www.shadertoy.com/view/ldVGzt by coyote & Fabrice
size = .4/size
y += .034;
x *= size;
y *= -size;
return sqrt( x*x + y*y - abs(x) * y ) - .4
}
function segment(x,y,size){
return roundedRectangle(x,y,size/6,size/2)
}
function sevenSegment(x,y,size,num)
{
seg= 5.0;
scale = 2.5
a = .45 * size * scale
b = .225 * size * scale
seg = (num!=-1 && num!=1 && num!=4 ?min(segment(y+a,x,size),seg):seg);
seg = (num!=-1 && num!=1 && num!=2 && num!=3 && num!=7?min(segment(x-b,y+b,size),seg):seg);
seg = (num!=-1 && num!=5 && num!=6 ?min(segment(x+b,y+b,size),seg):seg);
seg = (num!=-1 && num!=0 && num!=1 && num!=7 ?min(segment(y,x,size),seg):seg);
seg = (num==0 || num==2 || num==6 || num==8 ?min(segment(x-b,y-b,size),seg):seg);
seg = (num!=-1 && num!=2 ?min(segment(x+b,y-b,size),seg):seg);
seg = (num!=-1 && num!=1 && num!=4 && num!=7 ?min(segment(y-a,x,size),seg):seg);
return seg;
}
Hmm, Would you like to play a game?
Now that’s a pattern… do a WOPR countdown, and then show missles striking… all in ultra low res. Oh, and it’d have to do the DEFCON changes as well
Talk about a countdown pattern… You’d want two keys to turn this on.
Ok, last video:
yes, it had lots of LEDs in multiple panels… so the pattern could sit there and just blink leds calmly… most of the time.