feat: pattern editor
This commit is contained in:
46
presets/examples/pulsing-circle.json
Normal file
46
presets/examples/pulsing-circle.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"name": "Pulsing Circle",
|
||||
"description": "A pulsing circle in the center with rainbow colors",
|
||||
"layers": [
|
||||
{
|
||||
"type": "shape",
|
||||
"shape": "circle",
|
||||
"position": {
|
||||
"x": 8,
|
||||
"y": 8
|
||||
},
|
||||
"size": {
|
||||
"radius": 4
|
||||
},
|
||||
"color": {
|
||||
"type": "rainbow"
|
||||
},
|
||||
"intensity": 1.0,
|
||||
"animation": {
|
||||
"type": "pulse",
|
||||
"params": {
|
||||
"minScale": 0.5,
|
||||
"maxScale": 1.5,
|
||||
"frequency": 0.8
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"speed": {
|
||||
"type": "range",
|
||||
"min": 0.1,
|
||||
"max": 2.0,
|
||||
"step": 0.1,
|
||||
"default": 1.0
|
||||
},
|
||||
"brightness": {
|
||||
"type": "range",
|
||||
"min": 0.1,
|
||||
"max": 1.0,
|
||||
"step": 0.1,
|
||||
"default": 1.0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user