B:BD[
2.776] → [
2.776:1067]
vec3 color = vec3(0., COL, COL);
float size = (FADE_FACTOR - (FADE_FACTOR - 1.) * smoothstep(0., FADE_TIME, time)) * SIZE * SIZE;
for (int n = 0; n < min(notificationCount, 7) * int(step(1., NOTIF_CHAIN)); n++) {
float snake_dist = 2. * float(n) * CHAIN_LEN * TIME_STEP;
lowp vec3 color = vec3(0., COL, COL);
const float fade_progress = smoothstep(0., FADE_TIME * step(1., ENABLE_FADE), time);
const float size = (FADE_FACTOR - (FADE_FACTOR - 1.) * fade_progress) * SIZE * SIZE;
for (int n = 0; n < min(notificationCount, 10) * int(step(1., ENABLE_NOTIF)); n++) {
const float snake_dist = 2. * float(n) * CHAIN_LEN * TIME_STEP;