-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Lava Lamp FX in the user_fx usermod #5253
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
Merged
+291
−4
Merged
Changes from 2 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
3a843fa
Added Lava Lamp effect to user_fx usermod
BobLoeffler68 401cafc
changed random8() to hw_random8() and added some comments to beginnin…
BobLoeffler68 f51357a
Allocate particle array in SEGENV.data using SEGENV.allocateData
BobLoeffler68 899393a
Now using SEGENV.aux0 to track the last size control value.
BobLoeffler68 2b3a89f
Added color macros and white channel to RGB, but just temporarily.
BobLoeffler68 e54ff16
Replaced qadd8() with color_add()
BobLoeffler68 b5a82b1
optimized distance calculation and decreased sqrt() calls in inner re…
BobLoeffler68 cc686a6
Moved millis() outside of particles loop
BobLoeffler68 4fa11fc
Use an explicit cast to float for clarity for 3 variables.
BobLoeffler68 3bb410e
Changed max particles to 35 and changed a couple things to be more ef…
BobLoeffler68 4e66fe6
A couple optimizations
BobLoeffler68 98903a3
changed a comment regarding attraction
BobLoeffler68 311fe2e
Made a change to the parameters of SEGMENT.color_from_palette
BobLoeffler68 2778100
Fixed a potential issue with random16(0) on small matrices, and a cou…
BobLoeffler68 6cab88a
Merge branch 'main' into pr-lavalamp-user-fx
BobLoeffler68 7becc96
Made a few changes recommended by coderabbit
BobLoeffler68 8648622
Removed life from the LavaParticle struct as we were not using it and…
BobLoeffler68 320382c
Merge branch 'pr-lavalamp-user-fx' of https://github.com/BobLoeffler6…
BobLoeffler68 d059d56
Adjust rise/fall velocity depending on distance from heat source (bot…
BobLoeffler68 52bf4ab
Removed return FRAMETIME
BobLoeffler68 5dc5de4
A few small tweaks but now I'm having an issue with compiling.
BobLoeffler68 8ffc658
Merge branch 'main' of https://github.com/Aircoookie/WLED into pr-lav…
BobLoeffler68 d11b524
- switched to sub-pixel accuracy animation.
BobLoeffler68 75a80f4
Changed the default value of the new horizontal damping slider
BobLoeffler68 0f2fb9a
Merge branch 'main' of https://github.com/Aircoookie/WLED into pr-lav…
BobLoeffler68 57248bf
Added user-selectable preserveColorRatio option
BobLoeffler68 a9a0989
Moved preserveColorRatio check out of loop
BobLoeffler68 2351efa
Inverted the H damping factor, set the preserve color ratio option to…
BobLoeffler68 a7592e2
Merge branch 'main' into pr-lavalamp-user-fx
BobLoeffler68 ae1698b
Comment characters were missing at beginning of Morse Code code
BobLoeffler68 f5fd402
Merge branch 'main' of https://github.com/Aircoookie/WLED into pr-lav…
BobLoeffler68 06c0a14
Min number of lava bombs is now 0 instead of 2
BobLoeffler68 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.