Files
photocraft/docs/images/multi-channel-editing/drawing-script.json
T

94 lines
1.2 KiB
JSON

[
[
"engine.execute",
{
"command": "file.new",
"params": {
"width": 800,
"height": 560,
"depth": 16,
"background": "white"
}
}
],
[
"engine.execute",
{
"command": "layer.new.layer",
"params": {}
}
],
[
"engine.execute",
{
"command": "paint.gradient",
"params": {
"from": [
0,
0
],
"to": [
800,
560
],
"colors": [
"#143b9b",
"#f6b552"
]
}
}
],
[
"engine.execute",
{
"command": "channel.target",
"params": {
"colors": [
0,
2
]
}
}
],
[
"ui.set",
{
"dockTabs": {
"layers": 1
},
"fit": true
}
],
[
"engine.execute",
{
"command": "paint.stroke",
"params": {
"points": [
[
100,
180
],
[
400,
380
],
[
700,
180
]
],
"size": 64,
"color": "#ffffff",
"seed": 42
}
}
],
[
"ui.set",
{
"tool": "remove"
}
]
]