Your own effects

List your effects

GET/api/custom-effects
Open. Open to everyone who can reach Tempolight.

The effects you made.

Responses

200OKapplication/json
object[]
idstringrequired

u-…

namestring
Up to 40 characters
patternstringrequired
One of "wave" "chase" "pulse" "sparkle" "fill" "breathe" "gradient"
axisstring
One of "along" "x" "y" "around" "centre"
Default "along"
drivestring

What moves it.

One of "beat" "kick" "bass" "loud" "time"
Default "beat"
tagstring
One of "calm" "build" "drop" "home"
Default "drop"
colors"palette" | string[]

palette, or two colours.

speednumber
Default 10.1 to 8
widthnumber
Default 0.150.01 to 1
cyclesnumber
Default 10.25 to 8
bgnumber

Background glow.

Default 0.050 to 0.5
Request
curl 'http://localhost:8080/api/custom-effects'
Response
[
  {
    "id": "u-k3j9q2",
    "name": "Pink chase",
    "tag": "drop",
    "pattern": "chase",
    "axis": "along",
    "drive": "kick",
    "colors": [
      "#ff0066",
      "#00ccff"
    ],
    "speed": 2,
    "width": 0.1,
    "bg": 0.05,
    "cycles": 1
  }
]
Edit on GitHub