Content
@
0 reply
0 recast
0 reaction
LGHT
@lght.eth
2 replies
3 recasts
23 reactions
MBStuart π© β
@stustustudio
let currentNumber; let increment; let lastUpdateTime; function setup() { createCanvas(600, 800); textAlign(CENTER, CENTER); textSize(69); fill(0); // Initialize starting number and increment currentNumber = int(random(1, 1000000)); increment = int(random(1, 21)); lastUpdateTime = millis(); } function draw() { background("#9b8168"); rotate(.03); let textToDisplay = `I HAVE\n${nfc(currentNumber)}\n REASONS\nTO BE HAPPY`; text(textToDisplay, width / 2, height / 2); // Update the number every second if (millis() - lastUpdateTime >= 1000) { currentNumber += increment; lastUpdateTime = millis(); } }
1 reply
0 recast
0 reaction
LGHT
@lght.eth
ideas: change font to helvetica bold with -7% letter spacing set min number in range to 444437 and max number at 1,000,000,000 randomize bg color as well
3 replies
0 recast
1 reaction
MBStuart π© β
@stustustudio
might be fun to rando array some words to: I, You, We, Find Happy, Thankful, Grateful, Present
1 reply
0 recast
1 reaction
LGHT
@lght.eth
love it, let's it not get boring
0 reply
0 recast
1 reaction