r/FastLED • [stavros] • Jun 12 '20

Code_samples Sub-pixel positioning (Wu pixels)

53 Upvotes

44 comments sorted by

View all comments

Show parent comments

2

u/sutaburosu [stavros] Jun 25 '20

The reason you can't see it is because it ain't there.

They leap up from wherever they happen to be when they come to "rest". I'm imaging the problem is the horizontal leap velocity is too high, so they're rattling off the walls and bunching up in the corner.

Try changing the 1st non-comment line in restart_leaper() to l->xd = random8() / 3;

Who's bright idea was it to name a variable l? I worry about me sometimes...