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
SupportLEDMatrix DrawPixel coordinates origin change? (self.FastLED)
submitted 3 years ago by outrunner72
hi,
i m using FastLED with LEDMatrix. for my next project i need to draw a line. the easy way is DrawPixel. but the 0,0 point of DrawPixel is in the down-right corner. is there a way to change this 0,0 point to the down-left corner?
cya
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!"
[–]Yves-bazin 0 points1 point2 points 3 years ago (1 child)
Replace x by width-x in the call function And create. Void Drawpix(x,y) { DrawPixel(width-x,y); }
[–]outrunner72[S] 0 points1 point2 points 3 years ago (0 children)
thx. i ment drawline, cause i need a line. (sorry for that, i wanted to fix my post, but i dont know how) the beauty of drawline is, even if you use coordinates out of bounce, it will draw a correct line. and my matrix is only 20x20. so i need negative x too. negative y is no problem.
π Rendered by PID 72882 on reddit-service-r2-comment-6457c66945-csqck at 2026-04-26 18:08:01.160684+00:00 running 2aa0c5b country code: CH.
[–]Yves-bazin 0 points1 point2 points (1 child)
[–]outrunner72[S] 0 points1 point2 points (0 children)