Message from @M4Gunner
Discord ID: 529809834145480704
i'm making it portable so it's phone chargers
is there a 4amp phone charger tho <:makes_you_think:382980749780844554>
isnt all you need is the correct voltage regulator or converter, attached to the batteries, with a charging/protection circuit?
```
#define MOVX ((float)millis() / 5.0)
#define MOVY ((float)millis() / 5.0)
#define DIST 10
void showOff() {
uint8_t hue;
/*for ( int l = 0; l < STRIPLENGTH; l++) {
leds[l] = CHSV(0 , 255, inoise8((float)millis() / 5.0 + l * 50));
}*/
int c = 0;
for ( int l = 0; l < ledW; c++, l++) {
leds[c] = CHSV(0 , 255, inoise8(c * DIST + MOVX, 0 + MOVY));
}
for ( int l = 0; l < ledH; c++, l++) {
leds[c] = CHSV(0 , 255, inoise8(c * DIST + MOVX, ledW * DIST + MOVY));
}
for ( int l = 0; l < ledW; c++, l++) {
leds[c] = CHSV(0 , 255, inoise8((ledW - c) * DIST + MOVX, ledH * DIST + MOVY));
}
for ( int l = 0; l < ledH; c++, l++) {
leds[c] = CHSV(0 , 255, inoise8((ledH - c) * DIST + MOVX, 0 + MOVY));
}
FastLED.show();
}```
yes i'm going to comment the code
haha
wait
OwO(ndsinet) what's this
⎝⎠ ╲╱╲╱ ⎝⎠
code for the effect
it's basically just a 2d perlin map
and a rectangle moving along it
👑
<:GWsetmyxPeepoPinged:405337566787928065>
yes hi i am stealing your code yes
ok
it's pretty ad oc tho
copyright 2016 Gunner
thanks for making youtube not googlevids
basically the red rectangle are the edges of the screen
and the screen moves upwards on this map
which is a kind of soft random
oh thats cool
the triangles are the leds
5 leds?
no
i'm just too lazu
to use paint
how many tho
depends on how big is the screen
on my main it was 17*14
better standardize yo design
on laptop is smaller
yes
unless you wanna write the code for 23 different panel sizes
bitch