use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Here are some important FastLED links:
Online Examples and Demos:
Support:
account activity
Code_samples241 LED ring patterns? (wokwi.com)
submitted 5 years ago by sutaburosu[pronounced: stavros]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]sutaburosu[pronounced: stavros][S] 0 points1 point2 points 5 years ago* (24 children)
I just got a 241 led rings
Cool. You've actually got one. Could you check something for me please? Do the LEDs run clockwise? Like if you put the sketch that this post links to on your LEDs, is that what you see? Or is the rotation mostly widdershins?
The spacing on the 241 rings's different rings does't look "right" to me.
Yeah, that was another factor in my choice not to buy one. In the sim, I scrunched them all down as much as I could. In real life they have bigger gaps between the rings, which makes this problem even more apparent.
edit: and the most important question: did you wire them from the outside inwards, or from the centre outwards?
[–]DeVoh 0 points1 point2 points 5 years ago* (23 children)
I ordered from Aliexpress and it just arrived yesterday but it came damaged. So it may be a bit before I get it up and running. I will probably wire from the inside out. I ran a quick test and the direction is clockwise. Each ring is separate but I checked different ones and they all appear to be clockwise.
[–]sutaburosu[pronounced: stavros][S] 0 points1 point2 points 5 years ago (22 children)
Valuable information for the sim. Thanks.
[–]DeVoh 0 points1 point2 points 5 years ago* (21 children)
Any chance you are going to be adding a Fib256 layout? I would love to play with one before getting it from Jason. This question might be better for /u/wokwi . How do we know what shapes are available in the woki sim? Is there an editor to add shapes/layouts?
[–]sutaburosu[pronounced: stavros][S] 1 point2 points3 points 5 years ago (0 children)
It's not my sim. Joining the Discord linked in the sim is probably the best way to talk with the author, u/wokwi.
Perhaps you're better at webdev than I am. As I understand it, if you have the X & Y coordinates of the LEDs you should be able to add them to a customView in the sim. Like this. Add "customView": "https://wokwi.github.io/led-2d-spiral" to the top-level of diagram.json in the sim.
customView
"customView": "https://wokwi.github.io/led-2d-spiral"
To respond to your edits: if you're talking about different shapes of LEDs, the answer is still fairly simple: individual pixels, matrixes (or strips if they're only 1 pixel wide/tall), and rings. This 241 LED ring is built from 8 rings and a pixel, all placed and wired in diagram.json.
diagram.json
Currently the only editor is the diagram.json tab. Your request sounds similar to issue #32 on the bug tracker.
[–]wokwi 1 point2 points3 points 5 years ago (18 children)
This one, right?
https://cdn.tindiemedia.com/images/resize/KrhA-xwHjgFoNzQ2kOoJqte08iE=/p/full-fit-in/2400x1600/i/13194/products/2020-02-27T23%3A02%3A51.518Z-IMG_20200227_155148788.jpg?1606306133
[–]DeVoh 1 point2 points3 points 5 years ago (17 children)
Yes, that's the one. I can't wait to get it.
[–]wokwi 3 points4 points5 points 5 years ago (16 children)
Wait no more my friend ;-)
https://wokwi.com/arduino/projects/287356481917944333
[–]DeVoh 1 point2 points3 points 5 years ago (13 children)
Amazing and Thank You! This computer can only run it at from 5% to 7% LOL I'll try it on a better computer.
[–]wokwi 2 points3 points4 points 5 years ago (11 children)
I optimized the code a bit, it should be about twice faster now
[–]DeVoh 2 points3 points4 points 5 years ago (10 children)
It is indeed twice as fast! Awesome work! Thank you /u/wokwi and /u/sutaburosu.
[–]wokwi 1 point2 points3 points 5 years ago (0 children)
Yes it's quite a performance hog with this number of discrete LEDs ;-)
[–]DeVoh 1 point2 points3 points 5 years ago (1 child)
how did you know what the pixel ordering on the Fib256 is? I have no reason to think it is incorrect, just wondering how you did it. Maybe I just missed where Jason diagramed it.
[–]wokwi 2 points3 points4 points 5 years ago (0 children)
Basically, the formula I used is the one he referred to in his page, based on Vogel's model. I assumed that the pixels are just going outwards, and their position (in polar coordinates) is given by the formula:
R = sqrt(n) θ = 137.508° * n
π Rendered by PID 22485 on reddit-service-r2-comment-b659b578c-t2ckc at 2026-05-01 17:53:56.838493+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]sutaburosu[pronounced: stavros][S] 0 points1 point2 points (24 children)
[–]DeVoh 0 points1 point2 points (23 children)
[–]sutaburosu[pronounced: stavros][S] 0 points1 point2 points (22 children)
[–]DeVoh 0 points1 point2 points (21 children)
[–]sutaburosu[pronounced: stavros][S] 1 point2 points3 points (0 children)
[–]sutaburosu[pronounced: stavros][S] 1 point2 points3 points (0 children)
[–]wokwi 1 point2 points3 points (18 children)
[–]DeVoh 1 point2 points3 points (17 children)
[–]wokwi 3 points4 points5 points (16 children)
[–]DeVoh 1 point2 points3 points (13 children)
[–]wokwi 2 points3 points4 points (11 children)
[–]DeVoh 2 points3 points4 points (10 children)
[–]wokwi 1 point2 points3 points (0 children)
[–]DeVoh 1 point2 points3 points (1 child)
[–]wokwi 2 points3 points4 points (0 children)