Skip to main content

JSON Events File Example

{"frames":[
{"events":[
{
"event_type": "NEW_ARTWORK",
"width": 640,
"height": 480,
"units": "px",
"dpi": 200,
"paper": {
"preset": "Default/HM01 Handmade", // may be absolute path too
"color": { "r": 128, "g": 255, "b": 128 },
"deckled_edges": true,
"paper_scale": 150
}
},
{
"event_type": "SET_ENGINE_PARAMS",
"absorbency": 5,
"re_wet": 5,
"texture_influence": 5,
"edge_darkening": 5,
"create_drips": true,
"drip_size": 5,
"drip_length": 5,
"impasto_depth": 5,
"gloss": 5,
"paper_texture": 5,
"paint_texture": 5
},
{
"event_type": "SET_CANVAS_TILT",
"tilt": {
"x": 0.75,
"y": 0.0
}
},
{
"event_type": "SET_BRUSH",
"tool": "OIL_AND_ACRYLIC",
"preset": "Dabber/Fan 1", // may be absolute path to preset too
"size" : 20,
"water": 55,
"opacity": 60,
"paint_type": "PAINT",
"color": { "r": 255, "g": 128, "b": 0 }
},
{
"event_type": "POINTER_PRESS",
"pos": {
"x": 400,
"y": 0
}
},
{
"event_type": "POINTER_MOVE",
"pos": {
"x": 400,
"y": 125
}
},
{
"event_type": "POINTER_MOVE",
"pos": {
"x": 400,
"y": 250
}
},
{
"event_type": "POINTER_MOVE",
"pos": {
"x": 400,
"y": 300
}
},
{
"event_type": "POINTER_MOVE",
"pos": {
"x": 300,
"y": 300
}
},
{
"event_type": "POINTER_MOVE",
"pos": {
"x": 200,
"y": 300
}
},
{
"event_type": "POINTER_MOVE",
"pos": {
"x": 100,
"y": 300
}
},
{
"event_type": "POINTER_RELEASE",
"pos": {
"x": 0,
"y": 300
}
},
{
"event_type": "SET_BRUSH",
"tool": "WATERCOLOR",
"preset": "Watercolor/Round",
"size" : 50,
"water": 55,
"opacity": 60,
"paint_type": "PAINT",
"glaze_mode": "OPAQUE",
"color": { "r": 128, "g": 64, "b": 192 }
},
{
"event_type": "POINTER_PRESS",
"pos": {
"x": 100,
"y": 125
},
"pressure": 0.0
},
{
"event_type": "POINTER_MOVE",
"pos": {
"x": 100,
"y": 125
},
"pen_tilt": {
"x": 60,
"y": 45
},
"pressure": 0.1
},
{
"event_type": "POINTER_MOVE",
"pos": {
"x": 300,
"y": 425
},
"pen_tilt": {
"x": 60,
"y": 45
},
"pressure": 0.3
}
]},
{"events":[
{
"event_type": "POINTER_MOVE",
"pos": {
"x": 102,
"y": 425
},
"pen_tilt": {
"x": 20,
"y": 10
},
"pressure": 0.6
},
{
"event_type": "POINTER_MOVE",
"pos": {
"x": 105,
"y": 425
},
"pen_tilt": {
"x": 10,
"y": 10
},
"pressure": 0.55
},
{
"event_type": "POINTER_RELEASE",
"pos": {
"x": 105,
"y": 425
}
}
]},
{"events":[
{
"event_type": "SIMULATION",
"repeats": 29
}
]},
{"events":[
{
"event_type": "SIMULATION",
"repeats": 29
}
]},
{"events":[
{
"event_type": "SIMULATION",
"repeats": 29
}
]},
{"events":[
{
"event_type": "SIMULATION",
"repeats": 29
}
]},
{"events":[
{
"event_type": "SIMULATION",
"repeats": 29
}
]},
{"events":[
{
"event_type": "SIMULATION",
"repeats": 29
}
]},
{"events":[
{
"event_type": "SIMULATION",
"repeats": 29
}
]},
{"events":[
{
"event_type": "SIMULATION",
"repeats": 29
}
]},
{"events":[
{
"event_type": "SIMULATION",
"repeats": 29
}
]},
{"events":[
{
"event_type": "SIMULATION",
"repeats": 29
}
]},
{"events":[
{
"event_type": "FAST_DRY"
}
]}
]}