|
| Animartrix | animartrix (xyMap, POLAR_WAVES) |
| |
| UIGroup | animartrixControls ("Animartrix Controls", fxIndex, changeFx) |
| |
| UISlider | brightness ("Brightness", 255, 0, 255) |
| |
| UIButton | changeFx ("Switch between Noise & Animartrix") |
| |
| UIButton | changePalette ("Noise - Next Palette") |
| |
| UICheckbox | changePallete ("Noise - Auto Palette", true) |
| |
| UISlider | changePalletTime ("Noise - Time until next random Palette", 5, 1, 100) |
| |
| UIDescription | description ("This example combines two features of FastLED to produce a remarkable range of effects from a relatively small amount of code. This example combines FastLED's color palette lookup functions with FastLED's Perlin noise generator, and the combination is extremely powerful") |
| |
| UIGroup | displayControls ("Display Controls", brightness, isOff, timeSpeed) |
| |
| FxEngine | fxEngine (NUM_LEDS) |
| |
| UINumberField | fxIndex ("Animartrix - index", 0, 0, NUM_ANIMATIONS) |
| |
| UICheckbox | isOff ("Off", false) |
| |
| void | loop () |
| |
| UIGroup | noiseControls ("Noise Controls", speed, changePallete, changePalletTime, scale, changePalette) |
| |
| UISlider | scale ("Noise - Scale", 20, 1, 100) |
| |
| void | setup () |
| |
| UISlider | speed ("Noise - Speed", 15, 1, 50) |
| |
| UISlider | timeSpeed ("Time Speed", 1, -10, 10,.1) |
| |
| UITitle | title ("FastLED Wasm Demo") |
| |