-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added POV image effect #3539
Added POV image effect #3539
Conversation
Thank you for the contribution. Looks like a nice enhancement, however... Before this gets merged, please do the following:
I would personally suggest to make a usermod from this as including additional libraries may be problematic for ESP8266 as it is already on the verge of usability. |
Hello Kristan, |
e26f742
to
e25798e
Compare
I moved mostly everything to a Usermod, but still some work to do. |
Do not force push changes. Please. |
Hi Kristan, |
e25798e
to
9a3fd3f
Compare
Building in release mode |
Sorry for late reply. Changing index.js for purposes of usermod is out of the question as the usermod is optional feature. It is possible to hack into Info page and (with clever approach) use it to select a file. But it may be a dirty hack. Will get back if I have any idea how to get those. |
Hi Kristan, |
Hey! This pull request has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs. |
Hi. please take a look at #3835 for idea how to use segment name as an image selector. |
Hello Kristan,
I've lost the credentials to my github account ><
I've started the recovery procedure and will make some update to this branch ASAP :)
Best,
Arthur
…----- Mail original -----
De: "Blaž Kristan" ***@***.***>
À: "Aircoookie/WLED" ***@***.***>
Cc: "Liliputech" ***@***.***>, "Author" ***@***.***>
Envoyé: Mercredi 22 Mai 2024 07:34:47
Objet: Re: [Aircoookie/WLED] Added POV image effect (PR #3539)
Hi. please take a look at #3835 for idea how to use segment name as
an image selector.
And update the PR for 0_15 branch.
—
Reply to this email directly, view it on GitHub , or unsubscribe .
You are receiving this because you authored the thread. Message ID:
<Aircoookie/WLED/pull/3539/c2123900851 @ github . com>
|
Just dropping in to say that I absolutely love this!! 😍 |
Hi, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove changes to platformio.ini and consider if you can implement suggestions.
Setup is really easy, after first boot and WiFi/LEDs setup: go to wled.local/edit and upload a couple image to WLed's filesystem. Only PNG is supported right now, further support for GIF is planned. The image should be as wide as the 1D segment you want to apply to. When done, go to the Effect page on the UI, select "POV Image" effect. You could also update the image with a post to the JSON-API like this: curl -X POST http://[wled]/json/state -d '{"seg":{"id":0,"fx":114,"f":"/axel.png"}}' The segment should move at around 120RPM (that's 2revolutions per seconds) for an image to showup. More informations and pictures here : https://lumina.toys
Thank you very much for your approval! Can't wait for this change to be merged :) |
Hi Liliputech and all. Edit: |
Setup is really easy, after first boot and WiFi/LEDs setup: go to wled.local/edit and upload a couple image to WLed's filesystem. Only PNG is supported right now, further support for GIF is planned. The image should be as wide as the 1D segment you want to apply to.
When done, go to the Effect page on the UI, select "POV Image" effect.
There should be a new selector, near the Effect Speed slider. You can use that selector to set the image for display on POV.
You could also update the image with a post to the JSON-API like this: curl -X POST http://[wled]/json/state -d '{"seg":{"id":0,"fx":114,"f":"/axel.png"}}'
The segment should move at around 120RPM (that's 2revolutions per seconds) for an image to showup. More informations and pictures here : https://www.instagram.com/lumina.toys/