Basic Shapes
Primitive rect, circle, ellipse, line, path, and text nodes.
Scene JSON
{
"version": "0.1",
"schemaVersion": "0.1",
"id": "basic-shapes",
"title": "Basic Shapes",
"description": "Primitive rect, circle, ellipse, line, path, and text nodes.",
"canvas": {
"width": 900,
"height": 520,
"background": "background",
"padding": 48
},
"theme": {
"id": "clean-light"
},
"nodes": [
{
"id": "title",
"x": 450,
"y": 64,
"type": "text",
"text": "Basic Shapes",
"fontSize": 28,
"fontWeight": 800,
"align": "center"
},
{
"id": "rect",
"x": 100,
"y": 130,
"width": 170,
"height": 110,
"style": {
"fill": "#e9e9e2",
"stroke": "background",
"strokeWidth": 1.4
},
"type": "roundedRect",
"radius": 8,
"label": "Rounded rectangle"
},
{
"id": "circle",
"x": 430,
"y": 185,
"style": {
"fill": "#111111",
"stroke": "background",
"strokeWidth": 1.4
},
"type": "circle",
"radius": 56,
"label": "Circle"
},
{
"id": "ellipse",
"x": 670,
"y": 185,
"width": 170,
"height": 92,
"style": {
"fill": "#9a9a9a",
"stroke": "background",
"strokeWidth": 1.4
},
"type": "ellipse",
"label": "Ellipse"
},
{
"id": "line",
"style": {
"stroke": "line",
"strokeWidth": 3
},
"accessibility": {
"role": "decorative"
},
"type": "line",
"points": [
{
"x": 130,
"y": 340
},
{
"x": 330,
"y": 340
}
]
},
{
"id": "path",
"style": {
"fill": "none",
"stroke": "accent",
"strokeWidth": 3
},
"type": "path",
"pathData": "M 430 360 C 500 300 590 420 660 340",
"label": "Curved path"
},
{
"id": "caption",
"x": 450,
"y": 450,
"width": 620,
"type": "text",
"text": "Shapes use fills, tonal contrast, and readable labels.",
"fontSize": 16,
"align": "center",
"wrap": true
}
]
}