forked from ewowi/StarBase
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Updated effects (incl 3D) and Live Scripts, fixture pins, Virtual driver S3 #21
Conversation
This file contains 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
E_noise.sc: fixed using speed and intensity control LedLayer - minor optimization using XYZ instead of XY - add XYZUnprojected(x,y,z) LedModEffects - add presets (WIP) - bugfix, blending only if more then 1 layer SysModInstances - dash variable: use publish if funId = 255 (WIP) SysModModel - Coord3D() and Coord3D(x,y,z) - add VarFunction and VarEventPS - add publish and subscribe - variable.triggerEvent: if funNr==255 then publish - show nr and size of events in UI SysModUI - add vcr controls (WIP)
octo.sc: a bit of refactoring LedEffects - leds.set/add/getPixelColor(leds.XY(x, y) -> leds.setPixelColor(x, y - octopus: add radialWave (thx SoftHack007) - add FireworksEffect LedLayer - add s/g/aPC(x,y(,z), color) - use StarString (WIP) LedModEffects - use StarString (WIP) - preset.onChange: generate preset.name (WIP!!) - preset.onChange: setValue of loaded preset (WIP) SysModModel - add variable.valIsArray SysModule - add StarString (WIP)
LedModEffects - presets: read and write to model - comment vcr - pixelsToBlend only if more layers (bugfix) LedModFixture - initEffect and allocPins from mapInitAlloc to addPixelsPost SysModModel - add presets JsonDocument - load presets in constructor - save presets if not null in doWriteModel
LedEffects - Live Scripts: script: remove resetStat - Live Scripts: loop: call syncWithSync SysModule(s) - add CPU time (WIP) UserModLive - sync, preKill and postKill as static class functions - add syncWithSync - rename show to sync and move as static class method - refactor / simplify sync variables (fps, previousCycleCount, waitingOnLiveScript, syncActive) - remove reset(Show)Stat(s) - rename fps1 to fpsCycles - rename fps2 to fpsFrame - remove show external fun (now always sync)
LedModEffects - move presets code to SysModule (every module can have presets) LedModFixture / SysModNetwork - add addPresets SysModule = add .cpp for addPresets - presets dropdown is now readonly - add presets.assignPreset and clearPreset to modify presets SysModules - refactor cpuTime to show ms and lps UserModLive - add scripts.onLoop1s to update columns - cleanup sync()
Update all scripts to support improved syntax - tertiary operator - assignments in declaration, including arrays (see pins) - {} not mandatory
SysModule - presets: show only available presets (not empty slots < 16) - assignPreset: show ✅ icon. Find empty slot, if new index set preset to this index - clearPreset: show ❌ icon. Cleanup empty slots - disable VCR (for next release)
Live scripts: update to latest version - float CR = -0.94299 is possible - t+=speed is possible - ternary op update - cube202020 updates pio.ini - latest ESP Live Script - wrover default non virtual driver LedEffects - paintbrush effect: support 3D - ripples and spheremove effect: time interval and distance float LedLayer - add drawLine3D (WIP) UserModLive - show errors in UI scripts table (WIP)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Updated DNA
New: Fireworks, RippleYZ
Refactored Live Scripts
Fixture pins
Gamme RGB sliders
Virtual driver for S3
3D effects