Skip to content
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

Merged
merged 14 commits into from
Dec 8, 2024

Conversation

ewowi
Copy link
Collaborator

@ewowi ewowi commented Dec 8, 2024

Updated DNA
New: Fireworks, RippleYZ
Refactored Live Scripts
Fixture pins
Gamme RGB sliders
Virtual driver for S3
3D effects

ewowi added 14 commits November 27, 2024 19:19
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)
@ewowi ewowi merged commit 1733169 into main Dec 8, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant