A drawing app built for agent/human collaboration
Rust
klad 0.2.0: pixel art
Indicode BV83cbd8165a51
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3140b0f..cdc0227 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,29 +2,38 @@## Unreleased-The first builds, and klad's licences.+Nothing yet.++## 0.2.0 (2026-11-12)++Pixel art: pixel layers in the colours of a palette, tools that draw whole pixels, animation, tiles, checks and exports that stay sharp. Drawings are saved in format `klad/7`; older drawings open unchanged.+- Pixel layers, the start of pixel art in klad. A pixel drawing (**Pixel art** in the start window, or `klad new sprite.klad --pixel 64x64`) is a small drawing of whole pixels with no soft edges; **Layer > New pixel layer** or `klad add art.klad layer pixel` adds a pixel layer to any drawing. `klad pixel sprite.klad l1 --color skin --cells '4-11,5-9'` puts pixels on it as one mark bound to a palette colour (a colour the palette lacks is added), and `--erase` clears them. Each mark stays editable: recolour it with `klad set`, move it with `klad transform`, remove it with `klad rm`; `klad strokes` lists them. Exports above full size keep the pixels square. Brush strokes and fills stay off pixel layers. The format is now `klad/7` (stroke files version 3); older drawings open unchanged.+- A sharp view for pixel drawings. In the editor the zoom steps in whole pixels, so every pixel is the same size; a grid shows between the pixels once you are zoomed in (**View > Pixel grid**), the pixel under the pointer is outlined and its position shows in the status line, and the **Real size** panel shows the drawing as the player sees it, at 1x, 2x or 4x. `klad render` enlarges a pixel drawing to about 512 px, and `--overlay grid` numbers its pixels along the top and the left.+- The palette of a pixel drawing. Changing a palette colour changes every pixel painted with it: click the colour in the palette, change it, and press **update** (or `klad palette art.klad --recolour skin --to '#e8b796'`). **palettes** adds the colours of a palette that comes with klad (PICO-8, Resurrect 64, four greens, 1-bit; `klad palettes` lists them) or of a palette file, a list of hex colours or a GIMP palette (`klad palette art.klad --load pico-8`). **ramp** adds five steps of the current colour, from dark and cool to light and warm (`klad palette art.klad --ramp wood --base '#8b5a2b'`), and `--ramp skin --of skin-dark,skin,skin-light` groups colours the palette has.+- The pixel pencil and eraser. On a pixel layer the brush tool (**B**) draws whole pixels in the current colour, which joins the palette, and the eraser (**E**, or the pen's eraser end) clears them; each drag of the pencil is one mark, and the eraser takes its pixels out of the marks under it and leaves none of its own, so pixels you move there later stay whole. A one-pixel line is pixel perfect (no doubled corners), the size is a square of whole pixels (**[** and **]**), and shift click draws a straight line from the last pixel. From the command line, `klad pixel` takes `--path` (SVG path data as a line of pixels) and `--size`.+- Sprites as text, for agents. `klad pixel sprite.klad l1 --grid sprite.txt` draws a sprite from a legend (`i = ink`) and rows of characters, one per pixel, each character becoming one mark bound to its palette colour; `klad pixels sprite.klad l1` reads a pixel layer back the same way, with its legend and numbered rows and columns (`--plain` in the form `--grid` reads, `--json`).+- Shapes and fill on the grid. On a pixel layer the fill tool (**G**) fills every pixel joined to the one you click that has exactly its colour (**across corners**, **read all pixel layers**), and the shape tool (**U**) drags a rectangle, an ellipse or a line of whole pixels, outlined or **filled**. From the command line: `klad pixel` with `--line`, `--rect`, `--ellipse` (`--filled`) and `--fill x,y` (`--diagonal`, `--ref`).+- Selecting and editing pixels. On a pixel layer the stroke tool (**S**) drags a box, or a loop, around pixels and takes them, cutting marks between whole pixels; drag them to move by whole pixels, scale by whole numbers or turn by quarters, and the bar under them flips, turns, recolours (exactly the current colour), copies and deletes. **Select same colour** takes every mark in the selected colours. From the command line: `klad lasso` takes `--box x,y,w,h`, `klad strokes --entry skin` lists one colour's marks, and `klad recolour` gives pixel marks the exact palette colour.+- Shading pixels. The pixel pencil, the shape tool and the fill tool have three inks: **colour**, **lighter** and **darker**; the last two step the pixels you go over along their colour's ramp. **dither** draws a share of the pixels in an even pattern, with the **second colour** for the rest. **Layer > Outline the pixels** adds a one-pixel outline in the current colour, and **Lighter** and **Darker** in the bar under selected marks step them along their ramp. From the command line: `klad pixel --shade`, `--dither` with `--second`, `--outline` (`--inside`), `klad recolour --step`, and `klad recolour --from skin --to skin-dark` to replace a colour.+- Mirror and tiles for pixel art. The pixel pencil, shape and fill tools draw each pixel's twin across the **mirror** line. **View > Tile: wrap at the edges** makes the drawing a tile: what you draw past an edge comes back in on the other side, fills go round the edges, and the canvas shows its repeats around it. From the command line: `klad pixel --mirror-x 16` (and `--mirror-y`), `klad new tile.klad --pixel 16 --wrap`, `klad canvas tile.klad --wrap on`, and `klad render --repeat 3` to see a tile repeated.+- Animating pixel layers. Frames, holds, links, clips and onion skins work on pixel layers as on paint layers. A keyed pixel layer moves by whole pixels and stays sharp. In-betweens, poses, weights and bones refuse pixel layers and say why: they move points and bend strokes, so draw the frames or key the layer's position.+- Exports that stay sharp, and GIFs. A pixel drawing exports at whole-number sizes only, up to 64 times (`klad export sprite.klad --scale 8`), enlarged pixel for pixel; the export window shows **times real size** and the size in pixels. Sheets, numbered frames and Godot exports follow the same rule, and the Godot scenes of a pixel drawing turn texture filtering off. New for every drawing: `klad export art.klad --gif` and **GIF** in the export window write an animated GIF for each clip, or one of the whole timeline, with each frame's own duration. A GIF holds 255 colours: `--dither` (the **dither** box) mixes them in a fine pattern so the soft gradients of a painting do not band.+- Palette variants. A drawing can hold other colours for the same sprite, like a blue team beside a red one. In the Colour panel **new variant** makes one and shows it; colours you change while it is shown are its own, and the palette itself keeps its colours. Pick **base** or a variant under the palette to show it. The export window exports what is shown, one variant, or **every variant** in one go. From the command line: `klad palette --new-variant blue`, `--variant base`, `--rename-variant`, `--rm-variant`, and `klad export --variant blue` or `--variants`.+- Aseprite files in and out. `klad import hero.aseprite` opens an Aseprite file as a klad drawing: its layers and groups, every frame's drawing, linked cels, the palette and its tags as clips. In the editor, **Choose an Aseprite file...** in the start window (or its path pasted there) does the same and opens the drawing it made. `klad export hero.klad --aseprite`, or **Aseprite** in the export window, writes a drawing's pixel layers back to an Aseprite file. klad says what it leaves out each way.+- Pictures to pixels. **File > Pixels of a picture…** turns a PNG or JPEG into pixels on the pixel layer you are on, in the palette's colours, or makes a pixel drawing of the layer you are on or of the whole picture at a size you choose. From the command line: `klad pixelize sprite.klad --image ref.png --to l1`, `klad pixelize hero.klad --size 64`, and `klad import ref.png` for a new pixel drawing from a picture. Each pixel becomes part of a mark bound to a palette colour, so the result is edited like any pixel drawing.+- Tilesets. **View > Tileset: cut into tiles…** cuts a drawing into tiles of one size; the canvas shows the tile lines, and **as a tile set** in the export window writes a Godot TileSet with a tile for every cell that is not empty. From the command line: `klad new ground.klad --pixel 64x48 --tile 16`, `klad canvas --tile 16`, `klad pixels --tile 2,0` and `klad pixel --grid --tile 2,0` to read and draw one tile at a time, and `klad export --tileset <folder>`.+- Pixel checks. `klad check sprite.klad` lists the usual slips of pixel art with their places: single stray pixels, doubled corners in one-pixel lines, jagged lines, banding, and colours that are not in the palette. In the editor **Check the pixels** marks them on the canvas and follows your edits until you turn it off. They are places to look at, not errors.+- A third agent skill, `klad skill pixel`: the craft of pixel art (size and palette, silhouette, clusters, clean lines, outlines, ramps with hue shift, shading without pillow shading or banding, anti-aliasing by hand, tiles, and a checklist at real size), and animating a sprite frame by frame: the four poses of a walk, heights and holds, what moves with the body and what trails it, the idle, and how to judge it. Under the MIT licence, like the other two.+- Two pixel art samples, `sprout` (a 32 px character with an idle and a walk) and `ground` (a tileset of 16 px tiles), in the start window and `klad samples`, and a guide, Drawing pixel art: starting a drawing, drawing and mirroring, moving pixels, ramps, a second colouring, animating a sprite, turning a picture into pixels, the checks, tiles and exports.- `klad check` is quiet enough to read: it lists what stands out (a single pixel outside the shape or in a flat area, an L in a drawn line) and counts single pixels among other colours and corners in shading in one line as left out. A 64 px sprite that gave 77 findings gives 15. The editor's **Check the pixels** marks the same ones.- `klad export -o` takes a folder that exists for every kind of export and puts the export in it under its usual name; a sheet used to land next to the folder.++## 0.1.17 (2026-11-11)++The first builds, and klad's licences.+- A new icon, painted in klad: a K in two brush strokes.-- Two pixel art samples, `sprout` (a 32 px character with an idle and a walk) and `ground` (a tileset of 16 px tiles), in the start window and `klad samples`, and a guide, Drawing pixel art: starting a drawing, drawing and mirroring, moving pixels, ramps, a second colouring, animating a sprite, turning a picture into pixels, the checks, tiles and exports.-- A third agent skill, `klad skill pixel`: the craft of pixel art (size and palette, silhouette, clusters, clean lines, outlines, ramps with hue shift, shading without pillow shading or banding, anti-aliasing by hand, tiles, and a checklist at real size), and animating a sprite frame by frame: the four poses of a walk, heights and holds, what moves with the body and what trails it, the idle, and how to judge it. Under the MIT licence, like the other two.-- Pixel checks. `klad check sprite.klad` lists the usual slips of pixel art with their places: single stray pixels, doubled corners in one-pixel lines, jagged lines, banding, and colours that are not in the palette. In the editor **Check the pixels** marks them on the canvas and follows your edits until you turn it off. They are places to look at, not errors.-- Tilesets. **View > Tileset: cut into tiles…** cuts a drawing into tiles of one size; the canvas shows the tile lines, and **as a tile set** in the export window writes a Godot TileSet with a tile for every cell that is not empty. From the command line: `klad new ground.klad --pixel 64x48 --tile 16`, `klad canvas --tile 16`, `klad pixels --tile 2,0` and `klad pixel --grid --tile 2,0` to read and draw one tile at a time, and `klad export --tileset <folder>`.-- Pictures to pixels. **File > Pixels of a picture…** turns a PNG or JPEG into pixels on the pixel layer you are on, in the palette's colours, or makes a pixel drawing of the layer you are on or of the whole picture at a size you choose. From the command line: `klad pixelize sprite.klad --image ref.png --to l1`, `klad pixelize hero.klad --size 64`, and `klad import ref.png` for a new pixel drawing from a picture. Each pixel becomes part of a mark bound to a palette colour, so the result is edited like any pixel drawing.-- Aseprite files in and out. `klad import hero.aseprite` opens an Aseprite file as a klad drawing: its layers and groups, every frame's drawing, linked cels, the palette and its tags as clips. In the editor, **Choose an Aseprite file...** in the start window (or its path pasted there) does the same and opens the drawing it made. `klad export hero.klad --aseprite`, or **Aseprite** in the export window, writes a drawing's pixel layers back to an Aseprite file. klad says what it leaves out each way.-- Palette variants. A drawing can hold other colours for the same sprite, like a blue team beside a red one. In the Colour panel **new variant** makes one and shows it; colours you change while it is shown are its own, and the palette itself keeps its colours. Pick **base** or a variant under the palette to show it. The export window exports what is shown, one variant, or **every variant** in one go. From the command line: `klad palette --new-variant blue`, `--variant base`, `--rename-variant`, `--rm-variant`, and `klad export --variant blue` or `--variants`.-- Exports that stay sharp, and GIFs. A pixel drawing exports at whole-number sizes only, up to 64 times (`klad export sprite.klad --scale 8`), enlarged pixel for pixel; the export window shows **times real size** and the size in pixels. Sheets, numbered frames and Godot exports follow the same rule, and the Godot scenes of a pixel drawing turn texture filtering off. New for every drawing: `klad export art.klad --gif` and **GIF** in the export window write an animated GIF for each clip, or one of the whole timeline, with each frame's own duration. A GIF holds 255 colours: `--dither` (the **dither** box) mixes them in a fine pattern so the soft gradients of a painting do not band.-- Animating pixel layers. Frames, holds, links, clips and onion skins work on pixel layers as on paint layers. A keyed pixel layer moves by whole pixels and stays sharp. In-betweens, poses, weights and bones refuse pixel layers and say why: they move points and bend strokes, so draw the frames or key the layer's position.-- Mirror and tiles for pixel art. The pixel pencil, shape and fill tools draw each pixel's twin across the **mirror** line. **View > Tile: wrap at the edges** makes the drawing a tile: what you draw past an edge comes back in on the other side, fills go round the edges, and the canvas shows its repeats around it. From the command line: `klad pixel --mirror-x 16` (and `--mirror-y`), `klad new tile.klad --pixel 16 --wrap`, `klad canvas tile.klad --wrap on`, and `klad render --repeat 3` to see a tile repeated.-- Shading pixels. The pixel pencil, the shape tool and the fill tool have three inks: **colour**, **lighter** and **darker**; the last two step the pixels you go over along their colour's ramp. **dither** draws a share of the pixels in an even pattern, with the **second colour** for the rest. **Layer > Outline the pixels** adds a one-pixel outline in the current colour, and **Lighter** and **Darker** in the bar under selected marks step them along their ramp. From the command line: `klad pixel --shade`, `--dither` with `--second`, `--outline` (`--inside`), `klad recolour --step`, and `klad recolour --from skin --to skin-dark` to replace a colour.-- Selecting and editing pixels. On a pixel layer the stroke tool (**S**) drags a box, or a loop, around pixels and takes them, cutting marks between whole pixels; drag them to move by whole pixels, scale by whole numbers or turn by quarters, and the bar under them flips, turns, recolours (exactly the current colour), copies and deletes. **Select same colour** takes every mark in the selected colours. From the command line: `klad lasso` takes `--box x,y,w,h`, `klad strokes --entry skin` lists one colour's marks, and `klad recolour` gives pixel marks the exact palette colour.-- Shapes and fill on the grid. On a pixel layer the fill tool (**G**) fills every pixel joined to the one you click that has exactly its colour (**across corners**, **read all pixel layers**), and the shape tool (**U**) drags a rectangle, an ellipse or a line of whole pixels, outlined or **filled**. From the command line: `klad pixel` with `--line`, `--rect`, `--ellipse` (`--filled`) and `--fill x,y` (`--diagonal`, `--ref`).-- Sprites as text, for agents. `klad pixel sprite.klad l1 --grid sprite.txt` draws a sprite from a legend (`i = ink`) and rows of characters, one per pixel, each character becoming one mark bound to its palette colour; `klad pixels sprite.klad l1` reads a pixel layer back the same way, with its legend and numbered rows and columns (`--plain` in the form `--grid` reads, `--json`).-- The pixel pencil and eraser. On a pixel layer the brush tool (**B**) draws whole pixels in the current colour, which joins the palette, and the eraser (**E**, or the pen's eraser end) clears them; each drag of the pencil is one mark, and the eraser takes its pixels out of the marks under it and leaves none of its own, so pixels you move there later stay whole. A one-pixel line is pixel perfect (no doubled corners), the size is a square of whole pixels (**[** and **]**), and shift click draws a straight line from the last pixel. From the command line, `klad pixel` takes `--path` (SVG path data as a line of pixels) and `--size`.-- The palette of a pixel drawing. Changing a palette colour changes every pixel painted with it: click the colour in the palette, change it, and press **update** (or `klad palette art.klad --recolour skin --to '#e8b796'`). **palettes** adds the colours of a palette that comes with klad (PICO-8, Resurrect 64, four greens, 1-bit; `klad palettes` lists them) or of a palette file, a list of hex colours or a GIMP palette (`klad palette art.klad --load pico-8`). **ramp** adds five steps of the current colour, from dark and cool to light and warm (`klad palette art.klad --ramp wood --base '#8b5a2b'`), and `--ramp skin --of skin-dark,skin,skin-light` groups colours the palette has.-- A sharp view for pixel drawings. In the editor the zoom steps in whole pixels, so every pixel is the same size; a grid shows between the pixels once you are zoomed in (**View > Pixel grid**), the pixel under the pointer is outlined and its position shows in the status line, and the **Real size** panel shows the drawing as the player sees it, at 1x, 2x or 4x. `klad render` enlarges a pixel drawing to about 512 px, and `--overlay grid` numbers its pixels along the top and the left.-- Pixel layers, the start of pixel art in klad. A pixel drawing (**Pixel art** in the start window, or `klad new sprite.klad --pixel 64x64`) is a small drawing of whole pixels with no soft edges; **Layer > New pixel layer** or `klad add art.klad layer pixel` adds a pixel layer to any drawing. `klad pixel sprite.klad l1 --color skin --cells '4-11,5-9'` puts pixels on it as one mark bound to a palette colour (a colour the palette lacks is added), and `--erase` clears them. Each mark stays editable: recolour it with `klad set`, move it with `klad transform`, remove it with `klad rm`; `klad strokes` lists them. Exports above full size keep the pixels square. Brush strokes and fills stay off pixel layers. The format is now `klad/7` (stroke files version 3); older drawings open unchanged.- Align and distribute shapes. With **V**, shift click adds a shape to the selection and a loop dragged on a vector layer takes the shapes inside; several shapes move, scale, turn, flip, duplicate and delete together. The bar under them lines up their left, right, top or bottom edges or their centres and spaces three or more evenly; one shape lines up on the canvas (**Edit > Align**). From the command line: `klad align art.klad n3 n4 n7 --y middle --spread x`, with `--to canvas` or `--to <shape>` and `--gap`.- Fixed exports of a clip moved by keys (a layer, group or shape keyed between frames, with no drawing per frame): `klad export --sheet`, `--frames` and `--godot` wrote the first pose for every frame, and `klad render --sheet` showed them as held. Each pose is now its own picture.- A second agent skill, `klad skill drawing`: the craft of drawing and painting (planning a picture, light on form, values, edges, colour, materials, line, a painting method and a critique checklist), under the MIT licence like the first.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 725375a..97c1809 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -43,7 +43,7 @@ klad is source-available, not open source (`LICENSE`): its licence lets you sendThe Mac and Windows builds are sold on itch.io (and later Steam); Linux is built from source. GitHub has the release notes, not downloads.-1. `just build minor` (or `major`) sets the release's version; move the changes under "Unreleased" in `CHANGELOG.md` to a section `## x.y.z (date)` with that version.. `just formats x.y.z` saves the samples with their hashes into `tests/formats/x.y.z/` (after `just samples`). Commit.+1. `just build minor` (or `major`) sets the release's version; move the changes under "Unreleased" in `CHANGELOG.md` to a section `## x.y.z (date)` with that version.. `just formats x.y.z` saves seven samples with their hashes into `tests/formats/x.y.z/` (after `just samples`; `packaging/formats.sh <klad> x.y.z <folder>` takes them from another folder, laid out as `<name>/<name>.klad`). Commit.2. On a Mac with [butler](https://itch.io/docs/butler/) logged in: `ITCH_TARGET=<user>/<page> just itch-mac` builds the app (arm64 and x86_64 in one) and pushes it to the page's `mac` channel.3. Tag `vx.y.z` and push the tag. The `release` workflow runs the checks, builds the Windows version and pushes it to the `windows` channel (with the `BUTLER_API_KEY` secret and the `ITCH_TARGET` variable set in the repository), then publishes that changelog section as the release notes, which the editor's update check reads.4. The builds are not signed yet.diff --git a/Cargo.lock b/Cargo.lockindex 222da8b..3b69dd6 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -1744,7 +1744,7 @@ dependencies = [[[package]]name = "klad-app"-version = "0.1.22"+version = "0.2.0"dependencies = ["anyhow","block2 0.6.2",@@ -1773,7 +1773,7 @@ dependencies = [[[package]]name = "klad-brush"-version = "0.1.22"+version = "0.2.0"dependencies = ["anyhow","bytemuck",@@ -1789,7 +1789,7 @@ dependencies = [[[package]]name = "klad-cli"-version = "0.1.22"+version = "0.2.0"dependencies = ["anyhow","clap",@@ -1815,7 +1815,7 @@ dependencies = [[[package]]name = "klad-core"-version = "0.1.22"+version = "0.2.0"dependencies = ["anyhow","half",@@ -1827,7 +1827,7 @@ dependencies = [[[package]]name = "klad-render"-version = "0.1.22"+version = "0.2.0"dependencies = ["anyhow","bytemuck",diff --git a/Cargo.toml b/Cargo.tomlindex 66fb701..9330645 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -3,7 +3,7 @@ resolver = "3"members = ["crates/*"][workspace.package]-version = "0.1.22"+version = "0.2.0"edition = "2024"license-file = "LICENSE"repository = "https://github.com/klad-app/klad"diff --git a/packaging/formats.sh b/packaging/formats.shindex 41fc827..fbad6de 100755--- a/packaging/formats.sh+++ b/packaging/formats.sh@@ -3,16 +3,17 @@ set -euo pipefailroot="$(cd "$(dirname "$0")/.." && pwd)"klad="${1:?give the klad binary of the release}"version="${2:?give the version, as in tests/formats/<version>}"+samples="${3:-$root/samples}"dest="$root/tests/formats/$version"if [ -e "$dest" ]; thenecho "$dest is there already: a saved version never changes" >&2exit 1fipython="$(command -v python3 || command -v python)"-"$python" - "$root/samples" "$dest" "$klad" <<'PY'+"$python" - "$samples" "$dest" "$klad" <<'PY'import pathlib, shutil, subprocess, syssrc, dest, klad = pathlib.Path(sys.argv[1]), pathlib.Path(sys.argv[2]), sys.argv[3]-names = ["ink-shapes", "lantern", "bounce", "creature", "rig"]+names = ["ink-shapes", "lantern", "bounce", "creature", "rig", "sprout", "ground"]missing = [n for n in names if not (src / n / f"{n}.klad" / "doc.json").is_file()]if missing:sys.exit(f"build the samples first (just samples): {', '.join(missing)} missing")diff --git a/tests/formats/0.2.0/bounce.klad/.gitignore b/tests/formats/0.2.0/bounce.klad/.gitignorenew file mode 100644index 0000000..ceddaa3--- /dev/null+++ b/tests/formats/0.2.0/bounce.klad/.gitignore@@ -0,0 +1 @@+.cache/diff --git a/tests/formats/0.2.0/bounce.klad/brushes/ink.json b/tests/formats/0.2.0/bounce.klad/brushes/ink.jsonnew file mode 100644index 0000000..16be123--- /dev/null+++ b/tests/formats/0.2.0/bounce.klad/brushes/ink.json@@ -0,0 +1,24 @@+{+ "format": "klad-brush/1",+ "name": "Inking pen",+ "tip": {+ "round": {+ "hardness": 0.92+ }+ },+ "spacing": 0.04,+ "dynamics": {+ "size": {+ "pressure": {+ "min": 0.06,+ "gamma": 1.5+ }+ }+ },+ "taper": [+ 10.0,+ 10.0+ ],+ "stabilizer": 24.0,+ "smoothing": 12.0+}diff --git a/tests/formats/0.2.0/bounce.klad/doc.json b/tests/formats/0.2.0/bounce.klad/doc.jsonnew file mode 100644index 0000000..4e68470--- /dev/null+++ b/tests/formats/0.2.0/bounce.klad/doc.json@@ -0,0 +1,281 @@+{+ "format": "klad/7",+ "canvas": {+ "width": 1024,+ "height": 768,+ "background": "#f4efe6"+ },+ "timeline": {+ "fps": 12,+ "frames": 20,+ "clips": [+ {+ "name": "bounce",+ "from": 0,+ "to": 14,+ "loop": true+ },+ {+ "name": "rest",+ "from": 15,+ "to": 19,+ "loop": false,+ "fps": 6+ }+ ]+ },+ "palette": [+ {+ "color": "#1d1a22",+ "name": "ink"+ },+ {+ "color": "#d8543c",+ "name": "red"+ },+ {+ "color": "#f2e3c4",+ "name": "cream"+ },+ {+ "color": "#cdb58f",+ "name": "ground"+ },+ {+ "color": "#3a3046",+ "name": "shade"+ }+ ],+ "layers": [+ {+ "id": "floor",+ "name": "floor",+ "kind": "paint",+ "cels": [+ {+ "id": "floor0",+ "frame": 0+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true+ },+ {+ "id": "shadow",+ "name": "shadow",+ "kind": "paint",+ "cels": [+ {+ "id": "shadow0",+ "frame": 0,+ "hold": 2+ },+ {+ "id": "shadow2",+ "frame": 2,+ "hold": 2+ },+ {+ "id": "shadow4",+ "frame": 4,+ "hold": 1+ },+ {+ "id": "shadow5",+ "frame": 5,+ "hold": 1+ },+ {+ "id": "shadow6",+ "frame": 6,+ "hold": 1+ },+ {+ "id": "shadow7",+ "frame": 7,+ "hold": 1+ },+ {+ "id": "shadow8",+ "frame": 8,+ "hold": 1+ },+ {+ "id": "shadow9",+ "frame": 9,+ "hold": 1+ },+ {+ "id": "shadow10",+ "frame": 10,+ "hold": 1+ },+ {+ "id": "shadow11",+ "frame": 11,+ "hold": 2+ },+ {+ "id": "shadow13",+ "frame": 13,+ "hold": 2+ },+ {+ "id": "shadow15",+ "frame": 15,+ "hold": 5,+ "link": "shadow0"+ }+ ],+ "opacity": 0.45,+ "blend": "multiply",+ "visible": true+ },+ {+ "id": "colour",+ "name": "colour",+ "kind": "paint",+ "cels": [+ {+ "id": "colour0",+ "frame": 0,+ "hold": 2+ },+ {+ "id": "colour2",+ "frame": 2,+ "hold": 2+ },+ {+ "id": "colour4",+ "frame": 4,+ "hold": 1+ },+ {+ "id": "colour5",+ "frame": 5,+ "hold": 1+ },+ {+ "id": "colour6",+ "frame": 6,+ "hold": 1+ },+ {+ "id": "colour7",+ "frame": 7,+ "hold": 1+ },+ {+ "id": "colour8",+ "frame": 8,+ "hold": 1+ },+ {+ "id": "colour9",+ "frame": 9,+ "hold": 1+ },+ {+ "id": "colour10",+ "frame": 10,+ "hold": 1+ },+ {+ "id": "colour11",+ "frame": 11,+ "hold": 2+ },+ {+ "id": "colour13",+ "frame": 13,+ "hold": 2+ },+ {+ "id": "colour15",+ "frame": 15,+ "hold": 5,+ "link": "colour0"+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true+ },+ {+ "id": "lines",+ "name": "lines",+ "kind": "paint",+ "cels": [+ {+ "id": "lines0",+ "frame": 0,+ "hold": 2+ },+ {+ "id": "lines2",+ "frame": 2,+ "hold": 2+ },+ {+ "id": "lines4",+ "frame": 4,+ "hold": 1+ },+ {+ "id": "lines5",+ "frame": 5,+ "hold": 1+ },+ {+ "id": "lines6",+ "frame": 6,+ "hold": 1+ },+ {+ "id": "lines7",+ "frame": 7,+ "hold": 1+ },+ {+ "id": "lines8",+ "frame": 8,+ "hold": 1+ },+ {+ "id": "lines9",+ "frame": 9,+ "hold": 1+ },+ {+ "id": "lines10",+ "frame": 10,+ "hold": 1+ },+ {+ "id": "lines11",+ "frame": 11,+ "hold": 2+ },+ {+ "id": "lines13",+ "frame": 13,+ "hold": 2+ },+ {+ "id": "lines15",+ "frame": 15,+ "hold": 5,+ "link": "lines0"+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true+ }+ ],+ "export": {+ "godot": "bounce-godot"+ }+}diff --git a/tests/formats/0.2.0/bounce.klad/strokes/colour/colour0.strokes b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour0.strokesnew file mode 100644index 0000000..b9751c2Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour0.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/colour/colour10.strokes b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour10.strokesnew file mode 100644index 0000000..12e0579Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour10.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/colour/colour11.strokes b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour11.strokesnew file mode 100644index 0000000..892bb86Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour11.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/colour/colour13.strokes b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour13.strokesnew file mode 100644index 0000000..42dcab8Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour13.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/colour/colour2.strokes b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour2.strokesnew file mode 100644index 0000000..adcefc3Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour2.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/colour/colour4.strokes b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour4.strokesnew file mode 100644index 0000000..c4042f9Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour4.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/colour/colour5.strokes b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour5.strokesnew file mode 100644index 0000000..f2c5b3bBinary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour5.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/colour/colour6.strokes b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour6.strokesnew file mode 100644index 0000000..6729bb8Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour6.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/colour/colour7.strokes b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour7.strokesnew file mode 100644index 0000000..ab1d11aBinary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour7.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/colour/colour8.strokes b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour8.strokesnew file mode 100644index 0000000..e40daf6Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour8.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/colour/colour9.strokes b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour9.strokesnew file mode 100644index 0000000..48b8650Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/colour/colour9.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/floor/floor0.strokes b/tests/formats/0.2.0/bounce.klad/strokes/floor/floor0.strokesnew file mode 100644index 0000000..91a3a7aBinary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/floor/floor0.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/lines/lines0.strokes b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines0.strokesnew file mode 100644index 0000000..fa57333Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines0.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/lines/lines10.strokes b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines10.strokesnew file mode 100644index 0000000..cf96f10Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines10.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/lines/lines11.strokes b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines11.strokesnew file mode 100644index 0000000..a932df0Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines11.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/lines/lines13.strokes b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines13.strokesnew file mode 100644index 0000000..5885bf7Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines13.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/lines/lines2.strokes b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines2.strokesnew file mode 100644index 0000000..4156811Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines2.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/lines/lines4.strokes b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines4.strokesnew file mode 100644index 0000000..21eaae5Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines4.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/lines/lines5.strokes b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines5.strokesnew file mode 100644index 0000000..0c2e59aBinary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines5.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/lines/lines6.strokes b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines6.strokesnew file mode 100644index 0000000..d3ecf7fBinary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines6.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/lines/lines7.strokes b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines7.strokesnew file mode 100644index 0000000..464142dBinary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines7.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/lines/lines8.strokes b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines8.strokesnew file mode 100644index 0000000..841ed4dBinary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines8.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/lines/lines9.strokes b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines9.strokesnew file mode 100644index 0000000..b7be7d3Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/lines/lines9.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow0.strokes b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow0.strokesnew file mode 100644index 0000000..c7db48bBinary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow0.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow10.strokes b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow10.strokesnew file mode 100644index 0000000..3f74085Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow10.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow11.strokes b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow11.strokesnew file mode 100644index 0000000..9275be2Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow11.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow13.strokes b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow13.strokesnew file mode 100644index 0000000..b4ca56bBinary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow13.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow2.strokes b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow2.strokesnew file mode 100644index 0000000..89c4329Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow2.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow4.strokes b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow4.strokesnew file mode 100644index 0000000..f47f113Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow4.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow5.strokes b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow5.strokesnew file mode 100644index 0000000..f42fdbbBinary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow5.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow6.strokes b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow6.strokesnew file mode 100644index 0000000..0054cdbBinary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow6.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow7.strokes b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow7.strokesnew file mode 100644index 0000000..9522896Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow7.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow8.strokes b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow8.strokesnew file mode 100644index 0000000..141e36cBinary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow8.strokes differdiff --git a/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow9.strokes b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow9.strokesnew file mode 100644index 0000000..72718e1Binary files /dev/null and b/tests/formats/0.2.0/bounce.klad/strokes/shadow/shadow9.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/.gitignore b/tests/formats/0.2.0/creature.klad/.gitignorenew file mode 100644index 0000000..ceddaa3--- /dev/null+++ b/tests/formats/0.2.0/creature.klad/.gitignore@@ -0,0 +1 @@+.cache/diff --git a/tests/formats/0.2.0/creature.klad/brushes/ink.json b/tests/formats/0.2.0/creature.klad/brushes/ink.jsonnew file mode 100644index 0000000..16be123--- /dev/null+++ b/tests/formats/0.2.0/creature.klad/brushes/ink.json@@ -0,0 +1,24 @@+{+ "format": "klad-brush/1",+ "name": "Inking pen",+ "tip": {+ "round": {+ "hardness": 0.92+ }+ },+ "spacing": 0.04,+ "dynamics": {+ "size": {+ "pressure": {+ "min": 0.06,+ "gamma": 1.5+ }+ }+ },+ "taper": [+ 10.0,+ 10.0+ ],+ "stabilizer": 24.0,+ "smoothing": 12.0+}diff --git a/tests/formats/0.2.0/creature.klad/doc.json b/tests/formats/0.2.0/creature.klad/doc.jsonnew file mode 100644index 0000000..8f222af--- /dev/null+++ b/tests/formats/0.2.0/creature.klad/doc.json@@ -0,0 +1,1230 @@+{+ "format": "klad/7",+ "canvas": {+ "width": 1024,+ "height": 1024,+ "background": "#e9e4d8"+ },+ "timeline": {+ "fps": 12,+ "frames": 28,+ "origin": [+ 512.0,+ 820.0+ ],+ "clips": [+ {+ "name": "idle",+ "from": 0,+ "to": 11,+ "loop": true+ },+ {+ "name": "walk",+ "from": 12,+ "to": 27,+ "loop": true+ }+ ]+ },+ "palette": [+ {+ "color": "#17161d",+ "name": "ink"+ },+ {+ "color": "#5f7d4c",+ "name": "moss"+ },+ {+ "color": "#6b5643",+ "name": "bark"+ },+ {+ "color": "#20263a",+ "name": "dusk"+ },+ {+ "color": "#bff2ff",+ "name": "glow"+ },+ {+ "color": "#8dbb6a",+ "name": "leaf"+ },+ {+ "color": "#45372c",+ "name": "root"+ },+ {+ "color": "#2a211b",+ "name": "far"+ },+ {+ "color": "#44405a",+ "name": "shade"+ },+ {+ "color": "#eef6cf",+ "name": "rim"+ },+ {+ "color": "#3a3428",+ "name": "ground"+ }+ ],+ "layers": [+ {+ "id": "shadow",+ "name": "shadow",+ "kind": "paint",+ "cels": [+ {+ "id": "shadow0",+ "frame": 0,+ "hold": 3,+ "parts": {+ "shadow": [+ 1+ ]+ }+ },+ {+ "id": "c1",+ "frame": 3,+ "hold": 3,+ "tween": {+ "from": "shadow0",+ "to": "shadow2",+ "t": 0.5,+ "made": "51876540056fce64"+ },+ "parts": {+ "shadow": [+ 1+ ]+ }+ },+ {+ "id": "shadow2",+ "frame": 6,+ "hold": 3,+ "parts": {+ "shadow": [+ 1+ ]+ }+ },+ {+ "id": "c31",+ "frame": 9,+ "link": "c1"+ },+ {+ "id": "shadow3",+ "frame": 12,+ "hold": 2,+ "parts": {+ "shadow": [+ 1+ ]+ }+ },+ {+ "id": "c7",+ "frame": 14,+ "hold": 2,+ "tween": {+ "from": "shadow3",+ "to": "shadow5",+ "t": 0.5,+ "made": "8402b5e2b6265768"+ },+ "parts": {+ "shadow": [+ 1+ ]+ }+ },+ {+ "id": "shadow5",+ "frame": 16,+ "hold": 2,+ "parts": {+ "shadow": [+ 1+ ]+ }+ },+ {+ "id": "c13",+ "frame": 18,+ "hold": 2,+ "tween": {+ "from": "shadow5",+ "to": "shadow7",+ "t": 0.5,+ "made": "9be79d31b545c86a"+ },+ "parts": {+ "shadow": [+ 1+ ]+ }+ },+ {+ "id": "shadow7",+ "frame": 20,+ "hold": 2,+ "parts": {+ "shadow": [+ 1+ ]+ }+ },+ {+ "id": "c19",+ "frame": 22,+ "hold": 2,+ "tween": {+ "from": "shadow7",+ "to": "shadow9",+ "t": 0.5,+ "made": "8402b5e2b6265768"+ },+ "parts": {+ "shadow": [+ 1+ ]+ }+ },+ {+ "id": "shadow9",+ "frame": 24,+ "hold": 2,+ "parts": {+ "shadow": [+ 1+ ]+ }+ },+ {+ "id": "c25",+ "frame": 26,+ "hold": 2,+ "tween": {+ "from": "shadow9",+ "to": "shadow3",+ "t": 0.5,+ "made": "9be79d31b545c86a"+ },+ "parts": {+ "shadow": [+ 1+ ]+ }+ }+ ],+ "opacity": 0.35,+ "blend": "multiply",+ "visible": true+ },+ {+ "id": "far",+ "name": "far",+ "kind": "paint",+ "cels": [+ {+ "id": "far0",+ "frame": 0,+ "hold": 3,+ "parts": {+ "far leg": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c2",+ "frame": 3,+ "hold": 3,+ "tween": {+ "from": "far0",+ "to": "far2",+ "t": 0.5,+ "made": "9a57de971433b686"+ },+ "parts": {+ "far leg": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "far2",+ "frame": 6,+ "hold": 3,+ "parts": {+ "far leg": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c32",+ "frame": 9,+ "link": "c2"+ },+ {+ "id": "far3",+ "frame": 12,+ "hold": 2,+ "parts": {+ "far leg": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c8",+ "frame": 14,+ "hold": 2,+ "tween": {+ "from": "far3",+ "to": "far5",+ "t": 0.5,+ "made": "9de874eaef709c38"+ },+ "parts": {+ "far leg": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "far5",+ "frame": 16,+ "hold": 2,+ "parts": {+ "far leg": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c14",+ "frame": 18,+ "hold": 2,+ "tween": {+ "from": "far5",+ "to": "far7",+ "t": 0.5,+ "made": "3b12d69187412608"+ },+ "parts": {+ "far leg": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "far7",+ "frame": 20,+ "hold": 2,+ "parts": {+ "far leg": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c20",+ "frame": 22,+ "hold": 2,+ "tween": {+ "from": "far7",+ "to": "far9",+ "t": 0.5,+ "made": "c82c79695126e791"+ },+ "parts": {+ "far leg": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "far9",+ "frame": 24,+ "hold": 2,+ "parts": {+ "far leg": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c26",+ "frame": 26,+ "hold": 2,+ "tween": {+ "from": "far9",+ "to": "far3",+ "t": 0.5,+ "made": "a81840c2ee9493e3"+ },+ "parts": {+ "far leg": [+ 1,+ 2+ ]+ }+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true+ },+ {+ "id": "colour",+ "name": "colour",+ "kind": "paint",+ "cels": [+ {+ "id": "colour0",+ "frame": 0,+ "hold": 3+ },+ {+ "id": "c3",+ "frame": 3,+ "hold": 3,+ "tween": {+ "from": "colour0",+ "to": "colour2",+ "t": 0.5,+ "made": "3654674d9535ad0d"+ }+ },+ {+ "id": "colour2",+ "frame": 6,+ "hold": 3+ },+ {+ "id": "c33",+ "frame": 9,+ "link": "c3"+ },+ {+ "id": "colour3",+ "frame": 12,+ "hold": 2+ },+ {+ "id": "c9",+ "frame": 14,+ "hold": 2,+ "tween": {+ "from": "colour3",+ "to": "colour5",+ "t": 0.5,+ "made": "bd75018314da8106"+ }+ },+ {+ "id": "colour5",+ "frame": 16,+ "hold": 2+ },+ {+ "id": "c15",+ "frame": 18,+ "hold": 2,+ "tween": {+ "from": "colour5",+ "to": "colour7",+ "t": 0.5,+ "made": "5011eab7fbfc5646"+ }+ },+ {+ "id": "colour7",+ "frame": 20,+ "hold": 2+ },+ {+ "id": "c21",+ "frame": 22,+ "hold": 2,+ "tween": {+ "from": "colour7",+ "to": "colour9",+ "t": 0.5,+ "made": "3c072411a1f625dd"+ }+ },+ {+ "id": "colour9",+ "frame": 24,+ "hold": 2+ },+ {+ "id": "c27",+ "frame": 26,+ "hold": 2,+ "tween": {+ "from": "colour9",+ "to": "colour3",+ "t": 0.5,+ "made": "a8e77fd5e8e88d5d"+ }+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true+ },+ {+ "id": "shade",+ "name": "shade",+ "kind": "paint",+ "cels": [+ {+ "id": "shade0",+ "frame": 0,+ "hold": 3,+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c4",+ "frame": 3,+ "hold": 3,+ "tween": {+ "from": "shade0",+ "to": "shade2",+ "t": 0.5,+ "made": "936db3508f9a4a45"+ },+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "shade2",+ "frame": 6,+ "hold": 3,+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c34",+ "frame": 9,+ "link": "c4"+ },+ {+ "id": "shade3",+ "frame": 12,+ "hold": 2,+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c10",+ "frame": 14,+ "hold": 2,+ "tween": {+ "from": "shade3",+ "to": "shade5",+ "t": 0.5,+ "made": "f4d8a93e9544af42"+ },+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "shade5",+ "frame": 16,+ "hold": 2,+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c16",+ "frame": 18,+ "hold": 2,+ "tween": {+ "from": "shade5",+ "to": "shade7",+ "t": 0.5,+ "made": "9f9393a57a8d0f7c"+ },+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "shade7",+ "frame": 20,+ "hold": 2,+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c22",+ "frame": 22,+ "hold": 2,+ "tween": {+ "from": "shade7",+ "to": "shade9",+ "t": 0.5,+ "made": "ab5384bce1e26bd5"+ },+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "shade9",+ "frame": 24,+ "hold": 2,+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c28",+ "frame": 26,+ "hold": 2,+ "tween": {+ "from": "shade9",+ "to": "shade3",+ "t": 0.5,+ "made": "ac7773f64002b1a3"+ },+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ }+ ],+ "opacity": 0.7,+ "blend": "multiply",+ "visible": true,+ "clip": true+ },+ {+ "id": "rim",+ "name": "rim",+ "kind": "paint",+ "cels": [+ {+ "id": "rim0",+ "frame": 0,+ "hold": 3,+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c5",+ "frame": 3,+ "hold": 3,+ "tween": {+ "from": "rim0",+ "to": "rim2",+ "t": 0.5,+ "made": "5823a107e28df127"+ },+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "rim2",+ "frame": 6,+ "hold": 3,+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c35",+ "frame": 9,+ "link": "c5"+ },+ {+ "id": "rim3",+ "frame": 12,+ "hold": 2,+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c11",+ "frame": 14,+ "hold": 2,+ "tween": {+ "from": "rim3",+ "to": "rim5",+ "t": 0.5,+ "made": "ec0d50f76fe8de78"+ },+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "rim5",+ "frame": 16,+ "hold": 2,+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c17",+ "frame": 18,+ "hold": 2,+ "tween": {+ "from": "rim5",+ "to": "rim7",+ "t": 0.5,+ "made": "6d74b146ec025c82"+ },+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "rim7",+ "frame": 20,+ "hold": 2,+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c23",+ "frame": 22,+ "hold": 2,+ "tween": {+ "from": "rim7",+ "to": "rim9",+ "t": 0.5,+ "made": "7c0968407bd25413"+ },+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "rim9",+ "frame": 24,+ "hold": 2,+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ },+ {+ "id": "c29",+ "frame": 26,+ "hold": 2,+ "tween": {+ "from": "rim9",+ "to": "rim3",+ "t": 0.5,+ "made": "e5ebab34c8860c82"+ },+ "parts": {+ "body": [+ 1,+ 2+ ]+ }+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true,+ "clip": true+ },+ {+ "id": "lines",+ "name": "lines",+ "kind": "paint",+ "cels": [+ {+ "id": "lines0",+ "frame": 0,+ "hold": 3,+ "parts": {+ "body": [+ 1,+ 2,+ 3,+ 4,+ 5,+ 6,+ 7,+ 8,+ 9+ ],+ "leaf": [+ 11,+ 12+ ],+ "near leg": [+ 13+ ],+ "second leaf": [+ 14,+ 15+ ],+ "sprout": [+ 10+ ]+ }+ },+ {+ "id": "c6",+ "frame": 3,+ "hold": 3,+ "tween": {+ "from": "lines0",+ "to": "lines2",+ "t": 0.5,+ "made": "d31172bd0460b221"+ },+ "parts": {+ "body": [+ 1,+ 2,+ 3,+ 4,+ 5,+ 6,+ 7,+ 8,+ 9+ ],+ "leaf": [+ 11,+ 12+ ],+ "near leg": [+ 13+ ],+ "second leaf": [+ 14,+ 15+ ],+ "sprout": [+ 10+ ]+ }+ },+ {+ "id": "lines2",+ "frame": 6,+ "hold": 3,+ "parts": {+ "body": [+ 1,+ 2,+ 3,+ 4,+ 5,+ 6,+ 7,+ 8,+ 9+ ],+ "leaf": [+ 11,+ 12+ ],+ "near leg": [+ 13+ ],+ "second leaf": [+ 14,+ 15+ ],+ "sprout": [+ 10+ ]+ }+ },+ {+ "id": "c36",+ "frame": 9,+ "link": "c6"+ },+ {+ "id": "lines3",+ "frame": 12,+ "hold": 2,+ "parts": {+ "body": [+ 1,+ 2,+ 3,+ 4,+ 5,+ 6,+ 7,+ 8,+ 9+ ],+ "leaf": [+ 11,+ 12+ ],+ "near leg": [+ 13+ ],+ "second leaf": [+ 14,+ 15+ ],+ "sprout": [+ 10+ ]+ }+ },+ {+ "id": "c12",+ "frame": 14,+ "hold": 2,+ "tween": {+ "from": "lines3",+ "to": "lines5",+ "t": 0.5,+ "made": "b6f6d7e46a5bc84f"+ },+ "parts": {+ "body": [+ 1,+ 2,+ 3,+ 4,+ 5,+ 6,+ 7,+ 8,+ 9+ ],+ "leaf": [+ 11,+ 12+ ],+ "near leg": [+ 13+ ],+ "second leaf": [+ 14,+ 15+ ],+ "sprout": [+ 10+ ]+ }+ },+ {+ "id": "lines5",+ "frame": 16,+ "hold": 2,+ "parts": {+ "body": [+ 1,+ 2,+ 3,+ 4,+ 5,+ 6,+ 7,+ 8,+ 9+ ],+ "leaf": [+ 11,+ 12+ ],+ "near leg": [+ 13+ ],+ "second leaf": [+ 14,+ 15+ ],+ "sprout": [+ 10+ ]+ }+ },+ {+ "id": "c18",+ "frame": 18,+ "hold": 2,+ "tween": {+ "from": "lines5",+ "to": "lines7",+ "t": 0.5,+ "made": "6b63605395c718d2"+ },+ "parts": {+ "body": [+ 1,+ 2,+ 3,+ 4,+ 5,+ 6,+ 7,+ 8,+ 9+ ],+ "leaf": [+ 11,+ 12+ ],+ "near leg": [+ 13+ ],+ "second leaf": [+ 14,+ 15+ ],+ "sprout": [+ 10+ ]+ }+ },+ {+ "id": "lines7",+ "frame": 20,+ "hold": 2,+ "parts": {+ "body": [+ 1,+ 2,+ 3,+ 4,+ 5,+ 6,+ 7,+ 8,+ 9+ ],+ "leaf": [+ 13,+ 14+ ],+ "near leg": [+ 15+ ],+ "second leaf": [+ 10,+ 11+ ],+ "sprout": [+ 12+ ]+ }+ },+ {+ "id": "c24",+ "frame": 22,+ "hold": 2,+ "tween": {+ "from": "lines7",+ "to": "lines9",+ "t": 0.5,+ "made": "2004d2c67192e021"+ },+ "parts": {+ "body": [+ 1,+ 2,+ 3,+ 4,+ 5,+ 6,+ 7,+ 8,+ 9+ ],+ "leaf": [+ 13,+ 14+ ],+ "near leg": [+ 15+ ],+ "second leaf": [+ 10,+ 11+ ],+ "sprout": [+ 12+ ]+ }+ },+ {+ "id": "lines9",+ "frame": 24,+ "hold": 2,+ "parts": {+ "body": [+ 1,+ 2,+ 3,+ 4,+ 5,+ 6,+ 7,+ 8,+ 9+ ],+ "leaf": [+ 13,+ 14+ ],+ "near leg": [+ 15+ ],+ "second leaf": [+ 10,+ 11+ ],+ "sprout": [+ 12+ ]+ }+ },+ {+ "id": "c30",+ "frame": 26,+ "hold": 2,+ "tween": {+ "from": "lines9",+ "to": "lines3",+ "t": 0.5,+ "made": "eab52949135edf38"+ },+ "parts": {+ "body": [+ 1,+ 2,+ 3,+ 4,+ 5,+ 6,+ 7,+ 8,+ 9+ ],+ "leaf": [+ 13,+ 14+ ],+ "near leg": [+ 15+ ],+ "second leaf": [+ 10,+ 11+ ],+ "sprout": [+ 12+ ]+ }+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true+ }+ ]+}diff --git a/tests/formats/0.2.0/creature.klad/strokes/colour/c15.strokes b/tests/formats/0.2.0/creature.klad/strokes/colour/c15.strokesnew file mode 100644index 0000000..4781855Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/colour/c15.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/colour/c21.strokes b/tests/formats/0.2.0/creature.klad/strokes/colour/c21.strokesnew file mode 100644index 0000000..867f743Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/colour/c21.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/colour/c27.strokes b/tests/formats/0.2.0/creature.klad/strokes/colour/c27.strokesnew file mode 100644index 0000000..7a14fe8Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/colour/c27.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/colour/c3.strokes b/tests/formats/0.2.0/creature.klad/strokes/colour/c3.strokesnew file mode 100644index 0000000..de2dfb9Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/colour/c3.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/colour/c9.strokes b/tests/formats/0.2.0/creature.klad/strokes/colour/c9.strokesnew file mode 100644index 0000000..0992133Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/colour/c9.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/colour/colour0.strokes b/tests/formats/0.2.0/creature.klad/strokes/colour/colour0.strokesnew file mode 100644index 0000000..e92ad50Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/colour/colour0.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/colour/colour2.strokes b/tests/formats/0.2.0/creature.klad/strokes/colour/colour2.strokesnew file mode 100644index 0000000..6162d14Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/colour/colour2.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/colour/colour3.strokes b/tests/formats/0.2.0/creature.klad/strokes/colour/colour3.strokesnew file mode 100644index 0000000..16a6d93Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/colour/colour3.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/colour/colour5.strokes b/tests/formats/0.2.0/creature.klad/strokes/colour/colour5.strokesnew file mode 100644index 0000000..5f776e8Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/colour/colour5.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/colour/colour7.strokes b/tests/formats/0.2.0/creature.klad/strokes/colour/colour7.strokesnew file mode 100644index 0000000..ca8fc63Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/colour/colour7.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/colour/colour9.strokes b/tests/formats/0.2.0/creature.klad/strokes/colour/colour9.strokesnew file mode 100644index 0000000..fff5bbfBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/colour/colour9.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/far/c14.strokes b/tests/formats/0.2.0/creature.klad/strokes/far/c14.strokesnew file mode 100644index 0000000..de89886Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/far/c14.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/far/c2.strokes b/tests/formats/0.2.0/creature.klad/strokes/far/c2.strokesnew file mode 100644index 0000000..643e95cBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/far/c2.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/far/c20.strokes b/tests/formats/0.2.0/creature.klad/strokes/far/c20.strokesnew file mode 100644index 0000000..68a78d4Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/far/c20.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/far/c26.strokes b/tests/formats/0.2.0/creature.klad/strokes/far/c26.strokesnew file mode 100644index 0000000..be01b27Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/far/c26.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/far/c8.strokes b/tests/formats/0.2.0/creature.klad/strokes/far/c8.strokesnew file mode 100644index 0000000..75d8493Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/far/c8.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/far/far0.strokes b/tests/formats/0.2.0/creature.klad/strokes/far/far0.strokesnew file mode 100644index 0000000..5d3f4c5Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/far/far0.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/far/far2.strokes b/tests/formats/0.2.0/creature.klad/strokes/far/far2.strokesnew file mode 100644index 0000000..a4f9107Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/far/far2.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/far/far3.strokes b/tests/formats/0.2.0/creature.klad/strokes/far/far3.strokesnew file mode 100644index 0000000..8b5b710Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/far/far3.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/far/far5.strokes b/tests/formats/0.2.0/creature.klad/strokes/far/far5.strokesnew file mode 100644index 0000000..8b871d5Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/far/far5.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/far/far7.strokes b/tests/formats/0.2.0/creature.klad/strokes/far/far7.strokesnew file mode 100644index 0000000..bc99931Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/far/far7.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/far/far9.strokes b/tests/formats/0.2.0/creature.klad/strokes/far/far9.strokesnew file mode 100644index 0000000..b195b48Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/far/far9.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/lines/c12.strokes b/tests/formats/0.2.0/creature.klad/strokes/lines/c12.strokesnew file mode 100644index 0000000..357263dBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/lines/c12.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/lines/c18.strokes b/tests/formats/0.2.0/creature.klad/strokes/lines/c18.strokesnew file mode 100644index 0000000..c9ad83bBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/lines/c18.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/lines/c24.strokes b/tests/formats/0.2.0/creature.klad/strokes/lines/c24.strokesnew file mode 100644index 0000000..66e944dBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/lines/c24.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/lines/c30.strokes b/tests/formats/0.2.0/creature.klad/strokes/lines/c30.strokesnew file mode 100644index 0000000..a28c55aBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/lines/c30.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/lines/c6.strokes b/tests/formats/0.2.0/creature.klad/strokes/lines/c6.strokesnew file mode 100644index 0000000..eddfe6fBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/lines/c6.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/lines/lines0.strokes b/tests/formats/0.2.0/creature.klad/strokes/lines/lines0.strokesnew file mode 100644index 0000000..8daf550Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/lines/lines0.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/lines/lines2.strokes b/tests/formats/0.2.0/creature.klad/strokes/lines/lines2.strokesnew file mode 100644index 0000000..48fd32dBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/lines/lines2.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/lines/lines3.strokes b/tests/formats/0.2.0/creature.klad/strokes/lines/lines3.strokesnew file mode 100644index 0000000..3d7103dBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/lines/lines3.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/lines/lines5.strokes b/tests/formats/0.2.0/creature.klad/strokes/lines/lines5.strokesnew file mode 100644index 0000000..9951c54Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/lines/lines5.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/lines/lines7.strokes b/tests/formats/0.2.0/creature.klad/strokes/lines/lines7.strokesnew file mode 100644index 0000000..6d399b7Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/lines/lines7.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/lines/lines9.strokes b/tests/formats/0.2.0/creature.klad/strokes/lines/lines9.strokesnew file mode 100644index 0000000..c8734feBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/lines/lines9.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/rim/c11.strokes b/tests/formats/0.2.0/creature.klad/strokes/rim/c11.strokesnew file mode 100644index 0000000..d9dfa28Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/rim/c11.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/rim/c17.strokes b/tests/formats/0.2.0/creature.klad/strokes/rim/c17.strokesnew file mode 100644index 0000000..45e7331Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/rim/c17.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/rim/c23.strokes b/tests/formats/0.2.0/creature.klad/strokes/rim/c23.strokesnew file mode 100644index 0000000..f04f1a4Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/rim/c23.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/rim/c29.strokes b/tests/formats/0.2.0/creature.klad/strokes/rim/c29.strokesnew file mode 100644index 0000000..7e7503fBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/rim/c29.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/rim/c5.strokes b/tests/formats/0.2.0/creature.klad/strokes/rim/c5.strokesnew file mode 100644index 0000000..86fe1faBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/rim/c5.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/rim/rim0.strokes b/tests/formats/0.2.0/creature.klad/strokes/rim/rim0.strokesnew file mode 100644index 0000000..833a94aBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/rim/rim0.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/rim/rim2.strokes b/tests/formats/0.2.0/creature.klad/strokes/rim/rim2.strokesnew file mode 100644index 0000000..58af672Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/rim/rim2.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/rim/rim3.strokes b/tests/formats/0.2.0/creature.klad/strokes/rim/rim3.strokesnew file mode 100644index 0000000..3d7136aBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/rim/rim3.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/rim/rim5.strokes b/tests/formats/0.2.0/creature.klad/strokes/rim/rim5.strokesnew file mode 100644index 0000000..f5f56d1Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/rim/rim5.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/rim/rim7.strokes b/tests/formats/0.2.0/creature.klad/strokes/rim/rim7.strokesnew file mode 100644index 0000000..52e358bBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/rim/rim7.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/rim/rim9.strokes b/tests/formats/0.2.0/creature.klad/strokes/rim/rim9.strokesnew file mode 100644index 0000000..44f4eb9Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/rim/rim9.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shade/c10.strokes b/tests/formats/0.2.0/creature.klad/strokes/shade/c10.strokesnew file mode 100644index 0000000..228dbf7Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shade/c10.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shade/c16.strokes b/tests/formats/0.2.0/creature.klad/strokes/shade/c16.strokesnew file mode 100644index 0000000..98cea82Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shade/c16.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shade/c22.strokes b/tests/formats/0.2.0/creature.klad/strokes/shade/c22.strokesnew file mode 100644index 0000000..e36dc40Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shade/c22.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shade/c28.strokes b/tests/formats/0.2.0/creature.klad/strokes/shade/c28.strokesnew file mode 100644index 0000000..0cb9c3aBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shade/c28.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shade/c4.strokes b/tests/formats/0.2.0/creature.klad/strokes/shade/c4.strokesnew file mode 100644index 0000000..da0430eBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shade/c4.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shade/shade0.strokes b/tests/formats/0.2.0/creature.klad/strokes/shade/shade0.strokesnew file mode 100644index 0000000..93f7f79Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shade/shade0.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shade/shade2.strokes b/tests/formats/0.2.0/creature.klad/strokes/shade/shade2.strokesnew file mode 100644index 0000000..08a3ebaBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shade/shade2.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shade/shade3.strokes b/tests/formats/0.2.0/creature.klad/strokes/shade/shade3.strokesnew file mode 100644index 0000000..930bd69Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shade/shade3.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shade/shade5.strokes b/tests/formats/0.2.0/creature.klad/strokes/shade/shade5.strokesnew file mode 100644index 0000000..a8bafb5Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shade/shade5.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shade/shade7.strokes b/tests/formats/0.2.0/creature.klad/strokes/shade/shade7.strokesnew file mode 100644index 0000000..92e6dd5Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shade/shade7.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shade/shade9.strokes b/tests/formats/0.2.0/creature.klad/strokes/shade/shade9.strokesnew file mode 100644index 0000000..0ce397cBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shade/shade9.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shadow/c1.strokes b/tests/formats/0.2.0/creature.klad/strokes/shadow/c1.strokesnew file mode 100644index 0000000..6b87cb3Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shadow/c1.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shadow/c13.strokes b/tests/formats/0.2.0/creature.klad/strokes/shadow/c13.strokesnew file mode 100644index 0000000..04202dbBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shadow/c13.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shadow/c19.strokes b/tests/formats/0.2.0/creature.klad/strokes/shadow/c19.strokesnew file mode 100644index 0000000..539c333Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shadow/c19.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shadow/c25.strokes b/tests/formats/0.2.0/creature.klad/strokes/shadow/c25.strokesnew file mode 100644index 0000000..04202dbBinary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shadow/c25.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shadow/c7.strokes b/tests/formats/0.2.0/creature.klad/strokes/shadow/c7.strokesnew file mode 100644index 0000000..539c333Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shadow/c7.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow0.strokes b/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow0.strokesnew file mode 100644index 0000000..f005720Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow0.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow2.strokes b/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow2.strokesnew file mode 100644index 0000000..fdd6013Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow2.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow3.strokes b/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow3.strokesnew file mode 100644index 0000000..b07caa7Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow3.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow5.strokes b/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow5.strokesnew file mode 100644index 0000000..7d0c482Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow5.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow7.strokes b/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow7.strokesnew file mode 100644index 0000000..b07caa7Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow7.strokes differdiff --git a/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow9.strokes b/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow9.strokesnew file mode 100644index 0000000..7d0c482Binary files /dev/null and b/tests/formats/0.2.0/creature.klad/strokes/shadow/shadow9.strokes differdiff --git a/tests/formats/0.2.0/ground.klad/.gitignore b/tests/formats/0.2.0/ground.klad/.gitignorenew file mode 100644index 0000000..ceddaa3--- /dev/null+++ b/tests/formats/0.2.0/ground.klad/.gitignore@@ -0,0 +1 @@+.cache/diff --git a/tests/formats/0.2.0/ground.klad/doc.json b/tests/formats/0.2.0/ground.klad/doc.jsonnew file mode 100644index 0000000..1984bf2--- /dev/null+++ b/tests/formats/0.2.0/ground.klad/doc.json@@ -0,0 +1,101 @@+{+ "format": "klad/7",+ "canvas": {+ "width": 64,+ "height": 48,+ "tile": [+ 16,+ 16+ ]+ },+ "timeline": {+ "fps": 12,+ "frames": 1+ },+ "palette": [+ {+ "color": "#231d2b",+ "name": "ink",+ "id": "p12"+ },+ {+ "color": "#2c5a45",+ "name": "grass-1",+ "id": "p4",+ "ramp": "grass"+ },+ {+ "color": "#4a8a3c",+ "name": "grass-2",+ "id": "p2",+ "ramp": "grass"+ },+ {+ "color": "#8cc24a",+ "name": "grass-3",+ "id": "p3",+ "ramp": "grass"+ },+ {+ "color": "#4b2f2d",+ "name": "dirt-1",+ "id": "p5",+ "ramp": "dirt"+ },+ {+ "color": "#7d5136",+ "name": "dirt-2",+ "id": "p6",+ "ramp": "dirt"+ },+ {+ "color": "#b07f4f",+ "name": "dirt-3",+ "id": "p7",+ "ramp": "dirt"+ },+ {+ "color": "#3c3f52",+ "name": "stone-1",+ "id": "p10",+ "ramp": "stone"+ },+ {+ "color": "#6b7084",+ "name": "stone-2",+ "id": "p9",+ "ramp": "stone"+ },+ {+ "color": "#a7adbd",+ "name": "stone-3",+ "id": "p8",+ "ramp": "stone"+ },+ {+ "color": "#f2c14e",+ "name": "petal",+ "id": "p11"+ }+ ],+ "layers": [+ {+ "id": "l-tiles",+ "name": "tiles",+ "kind": "paint",+ "cels": [+ {+ "id": "c1",+ "frame": 0+ }+ ],+ "pixel": true,+ "opacity": 1.0,+ "blend": "normal",+ "visible": true+ }+ ],+ "export": {+ "godot": "ground-godot"+ }+}diff --git a/tests/formats/0.2.0/ground.klad/strokes/l-tiles/c1.strokes b/tests/formats/0.2.0/ground.klad/strokes/l-tiles/c1.strokesnew file mode 100644index 0000000..c87f5fdBinary files /dev/null and b/tests/formats/0.2.0/ground.klad/strokes/l-tiles/c1.strokes differdiff --git a/tests/formats/0.2.0/hashes.txt b/tests/formats/0.2.0/hashes.txtnew file mode 100644index 0000000..0e00dd6--- /dev/null+++ b/tests/formats/0.2.0/hashes.txt@@ -0,0 +1,87 @@+ink-shapes.klad 0 b07dec3759237e67+lantern.klad 0 33ee1d35d6b9be02+bounce.klad 0 1af955f670db33d6+bounce.klad 1 1af955f670db33d6+bounce.klad 2 09288c2dcb7ce5e2+bounce.klad 3 09288c2dcb7ce5e2+bounce.klad 4 ae65a2e403f5344b+bounce.klad 5 44e713c18e454862+bounce.klad 6 4166149cb6f6dafa+bounce.klad 7 a8481d7fb06d0c19+bounce.klad 8 816a78cf81e094c0+bounce.klad 9 11168b6bd786f71d+bounce.klad 10 d588b339cb66c743+bounce.klad 11 9e0015f04d963320+bounce.klad 12 9e0015f04d963320+bounce.klad 13 b668eac36047522e+bounce.klad 14 b668eac36047522e+bounce.klad 15 1af955f670db33d6+bounce.klad 16 1af955f670db33d6+bounce.klad 17 1af955f670db33d6+bounce.klad 18 1af955f670db33d6+bounce.klad 19 1af955f670db33d6+creature.klad 0 024861ca501bfbdc+creature.klad 1 024861ca501bfbdc+creature.klad 2 024861ca501bfbdc+creature.klad 3 72e0d1f054aa51da+creature.klad 4 72e0d1f054aa51da+creature.klad 5 72e0d1f054aa51da+creature.klad 6 110d34724438407c+creature.klad 7 110d34724438407c+creature.klad 8 110d34724438407c+creature.klad 9 72e0d1f054aa51da+creature.klad 10 72e0d1f054aa51da+creature.klad 11 72e0d1f054aa51da+creature.klad 12 5cd698247aaae80d+creature.klad 13 5cd698247aaae80d+creature.klad 14 8305537051d1b790+creature.klad 15 8305537051d1b790+creature.klad 16 4a695ecfd122b407+creature.klad 17 4a695ecfd122b407+creature.klad 18 c3c55e6d973f5de4+creature.klad 19 c3c55e6d973f5de4+creature.klad 20 c921712ffd1448e6+creature.klad 21 c921712ffd1448e6+creature.klad 22 714b014a503cd82b+creature.klad 23 714b014a503cd82b+creature.klad 24 eb7a0936edd27674+creature.klad 25 eb7a0936edd27674+creature.klad 26 7b2367877a5cac60+creature.klad 27 7b2367877a5cac60+rig.klad 0 dd88b960fabb53f2+rig.klad 1 747b038455ec00af+rig.klad 2 529563acce8fd9e2+rig.klad 3 f27a3acfd73fc46c+rig.klad 4 f011641f8743c843+rig.klad 5 4d58bc17220d3716+rig.klad 6 7e24eb8e2f57a2cb+rig.klad 7 440516ea60f63500+rig.klad 8 9968b2cb74e67fcf+rig.klad 9 05160057abd86140+rig.klad 10 06e94b273547edee+rig.klad 11 d6ea725f0c3be199+rig.klad 12 72029418da9f050f+rig.klad 13 94924aff162ba876+rig.klad 14 351f321cf36055c1+rig.klad 15 5cdfdfcc7fa09512+rig.klad 16 c4d3fc74bd2ee841+rig.klad 17 f7cdd41dacaab2ac+rig.klad 18 b39658124c70d7bd+rig.klad 19 3c7ed70074412572+rig.klad 20 acbba1e18d90590e+rig.klad 21 6fb2d05fa5369bb4+rig.klad 22 aebfdaa46aa1d7d6+rig.klad 23 ea78a659bff8e433+sprout.klad 0 8566101037827244+sprout.klad 1 8566101037827244+sprout.klad 2 8566101037827244+sprout.klad 3 8566101037827244+sprout.klad 4 13cde2760f9fb903+sprout.klad 5 13cde2760f9fb903+sprout.klad 6 13cde2760f9fb903+sprout.klad 7 13cde2760f9fb903+sprout.klad 8 41e3627986c7cfd4+sprout.klad 9 4add96fd4bb18264+sprout.klad 10 629a3742ea888634+sprout.klad 11 14c50b8b32a94e2c+ground.klad 0 271b12f335426c4ddiff --git a/tests/formats/0.2.0/ink-shapes.klad/.gitignore b/tests/formats/0.2.0/ink-shapes.klad/.gitignorenew file mode 100644index 0000000..ceddaa3--- /dev/null+++ b/tests/formats/0.2.0/ink-shapes.klad/.gitignore@@ -0,0 +1 @@+.cache/diff --git a/tests/formats/0.2.0/ink-shapes.klad/brushes/ink.json b/tests/formats/0.2.0/ink-shapes.klad/brushes/ink.jsonnew file mode 100644index 0000000..16be123--- /dev/null+++ b/tests/formats/0.2.0/ink-shapes.klad/brushes/ink.json@@ -0,0 +1,24 @@+{+ "format": "klad-brush/1",+ "name": "Inking pen",+ "tip": {+ "round": {+ "hardness": 0.92+ }+ },+ "spacing": 0.04,+ "dynamics": {+ "size": {+ "pressure": {+ "min": 0.06,+ "gamma": 1.5+ }+ }+ },+ "taper": [+ 10.0,+ 10.0+ ],+ "stabilizer": 24.0,+ "smoothing": 12.0+}diff --git a/tests/formats/0.2.0/ink-shapes.klad/brushes/pencil.json b/tests/formats/0.2.0/ink-shapes.klad/brushes/pencil.jsonnew file mode 100644index 0000000..7436364--- /dev/null+++ b/tests/formats/0.2.0/ink-shapes.klad/brushes/pencil.json@@ -0,0 +1,31 @@+{+ "format": "klad-brush/1",+ "name": "Pencil",+ "tip": {+ "round": {+ "hardness": 0.6+ }+ },+ "spacing": 0.1,+ "flow": 0.55,+ "dynamics": {+ "size": {+ "pressure": {+ "min": 0.5+ }+ },+ "flow": {+ "pressure": {+ "min": 0.15,+ "gamma": 1.3+ }+ }+ },+ "grain": {+ "paper": {+ "seed": 11,+ "feature": 2+ },+ "strength": 0.55+ }+}diff --git a/tests/formats/0.2.0/ink-shapes.klad/doc.json b/tests/formats/0.2.0/ink-shapes.klad/doc.jsonnew file mode 100644index 0000000..96dcb98--- /dev/null+++ b/tests/formats/0.2.0/ink-shapes.klad/doc.json@@ -0,0 +1,173 @@+{+ "format": "klad/7",+ "canvas": {+ "width": 960,+ "height": 900,+ "background": "#f4efe6"+ },+ "timeline": {+ "fps": 12,+ "frames": 1+ },+ "layers": [+ {+ "id": "sketch",+ "name": "sketch",+ "kind": "vector",+ "cels": [+ {+ "id": "c1",+ "frame": 0,+ "nodes": [+ {+ "id": "circle0",+ "type": "ellipse",+ "cx": 0.0,+ "cy": 0.0,+ "rx": 70.0,+ "ry": 70.0,+ "transform": {+ "x": 170.0,+ "y": 120.0+ }+ },+ {+ "id": "box0",+ "type": "rect",+ "x": -70.0,+ "y": -55.0,+ "w": 140.0,+ "h": 110.0,+ "radius": 18.0,+ "transform": {+ "x": 170.0,+ "y": 330.0+ }+ },+ {+ "id": "star0",+ "type": "path",+ "d": "M0 -80 L22 -26 L78 -24 L34 10 L50 66 L0 34 L-50 66 L-34 10 L-78 -24 L-22 -26 Z",+ "transform": {+ "x": 170.0,+ "y": 540.0+ }+ },+ {+ "id": "blob0",+ "type": "path",+ "d": "M-60 10 C -70 -50 -10 -80 30 -60 C 80 -40 90 20 50 50 C 10 80 -50 70 -60 10 Z",+ "transform": {+ "x": 170.0,+ "y": 750.0+ }+ },+ {+ "id": "circle1",+ "type": "ellipse",+ "cx": 0.0,+ "cy": 0.0,+ "rx": 70.0,+ "ry": 70.0,+ "transform": {+ "x": 470.0,+ "y": 120.0+ }+ },+ {+ "id": "box1",+ "type": "rect",+ "x": -70.0,+ "y": -55.0,+ "w": 140.0,+ "h": 110.0,+ "radius": 18.0,+ "transform": {+ "x": 470.0,+ "y": 330.0+ }+ },+ {+ "id": "star1",+ "type": "path",+ "d": "M0 -80 L22 -26 L78 -24 L34 10 L50 66 L0 34 L-50 66 L-34 10 L-78 -24 L-22 -26 Z",+ "transform": {+ "x": 470.0,+ "y": 540.0+ }+ },+ {+ "id": "blob1",+ "type": "path",+ "d": "M-60 10 C -70 -50 -10 -80 30 -60 C 80 -40 90 20 50 50 C 10 80 -50 70 -60 10 Z",+ "transform": {+ "x": 470.0,+ "y": 750.0+ }+ },+ {+ "id": "circle2",+ "type": "ellipse",+ "cx": 0.0,+ "cy": 0.0,+ "rx": 70.0,+ "ry": 70.0,+ "transform": {+ "x": 770.0,+ "y": 120.0+ }+ },+ {+ "id": "box2",+ "type": "rect",+ "x": -70.0,+ "y": -55.0,+ "w": 140.0,+ "h": 110.0,+ "radius": 18.0,+ "transform": {+ "x": 770.0,+ "y": 330.0+ }+ },+ {+ "id": "star2",+ "type": "path",+ "d": "M0 -80 L22 -26 L78 -24 L34 10 L50 66 L0 34 L-50 66 L-34 10 L-78 -24 L-22 -26 Z",+ "transform": {+ "x": 770.0,+ "y": 540.0+ }+ },+ {+ "id": "blob2",+ "type": "path",+ "d": "M-60 10 C -70 -50 -10 -80 30 -60 C 80 -40 90 20 50 50 C 10 80 -50 70 -60 10 Z",+ "transform": {+ "x": 770.0,+ "y": 750.0+ }+ }+ ]+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": false+ },+ {+ "id": "lines",+ "name": "lines",+ "kind": "paint",+ "cels": [+ {+ "id": "c2",+ "frame": 0+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true+ }+ ]+}diff --git a/tests/formats/0.2.0/ink-shapes.klad/strokes/lines/c2.strokes b/tests/formats/0.2.0/ink-shapes.klad/strokes/lines/c2.strokesnew file mode 100644index 0000000..767ce0eBinary files /dev/null and b/tests/formats/0.2.0/ink-shapes.klad/strokes/lines/c2.strokes differdiff --git a/tests/formats/0.2.0/lantern.klad/.gitignore b/tests/formats/0.2.0/lantern.klad/.gitignorenew file mode 100644index 0000000..ceddaa3--- /dev/null+++ b/tests/formats/0.2.0/lantern.klad/.gitignore@@ -0,0 +1 @@+.cache/diff --git a/tests/formats/0.2.0/lantern.klad/brushes/ink.json b/tests/formats/0.2.0/lantern.klad/brushes/ink.jsonnew file mode 100644index 0000000..16be123--- /dev/null+++ b/tests/formats/0.2.0/lantern.klad/brushes/ink.json@@ -0,0 +1,24 @@+{+ "format": "klad-brush/1",+ "name": "Inking pen",+ "tip": {+ "round": {+ "hardness": 0.92+ }+ },+ "spacing": 0.04,+ "dynamics": {+ "size": {+ "pressure": {+ "min": 0.06,+ "gamma": 1.5+ }+ }+ },+ "taper": [+ 10.0,+ 10.0+ ],+ "stabilizer": 24.0,+ "smoothing": 12.0+}diff --git a/tests/formats/0.2.0/lantern.klad/doc.json b/tests/formats/0.2.0/lantern.klad/doc.jsonnew file mode 100644index 0000000..1391a70--- /dev/null+++ b/tests/formats/0.2.0/lantern.klad/doc.json@@ -0,0 +1,349 @@+{+ "format": "klad/7",+ "canvas": {+ "width": 1024,+ "height": 1280+ },+ "timeline": {+ "fps": 12,+ "frames": 1+ },+ "palette": [+ {+ "color": "#15161c",+ "name": "ink"+ },+ {+ "color": "#3b4352",+ "name": "iron"+ },+ {+ "color": "#d3cab3",+ "name": "bone"+ },+ {+ "color": "#a9ecff",+ "name": "glow"+ },+ {+ "color": "#6b7584",+ "name": "stone"+ },+ {+ "color": "#4a5260",+ "name": "stone dark"+ },+ {+ "color": "#283039",+ "name": "chain"+ },+ {+ "color": "#56607e",+ "name": "shadow"+ },+ {+ "color": "#e2f5ff",+ "name": "rim"+ }+ ],+ "layers": [+ {+ "id": "sketch",+ "name": "sketch",+ "kind": "vector",+ "cels": [+ {+ "id": "c1",+ "frame": 0,+ "nodes": [+ {+ "id": "post",+ "type": "path",+ "d": "M431 1088 C 419 950 451 760 435 600 C 419 470 425 380 449 330 C 481 260 600 250 646 300 C 668 328 674 362 664 392 L 650 388 C 658 366 654 338 636 318 C 600 280 506 286 488 336 C 466 384 462 470 478 600 C 494 760 466 950 474 1088 Z"+ },+ {+ "id": "knob",+ "type": "ellipse",+ "cx": 657.0,+ "cy": 392.0,+ "rx": 10.0,+ "ry": 10.0+ },+ {+ "id": "edge-link",+ "type": "path",+ "d": "M649 419 C 649 415 655 415 655 419 L 654 436 C 654 440 648 440 648 436 Z"+ },+ {+ "id": "bead",+ "type": "ellipse",+ "cx": 650.0,+ "cy": 456.0,+ "rx": 7.0,+ "ry": 5.0+ },+ {+ "id": "cap",+ "type": "path",+ "d": "M624 484 C 624 466 676 466 676 484 C 664 492 636 492 624 484 Z"+ },+ {+ "id": "pod",+ "type": "path",+ "d": "M650 480 C 702 508 775 562 772 650 C 770 730 720 785 650 788 C 580 785 528 730 528 650 C 526 562 598 508 650 480 Z"+ },+ {+ "id": "window",+ "type": "ellipse",+ "cx": 650.0,+ "cy": 655.0,+ "rx": 50.0,+ "ry": 70.0+ },+ {+ "id": "stone",+ "type": "path",+ "d": "M300 1180 C 298 1122 362 1088 452 1083 C 548 1078 646 1084 702 1112 C 742 1132 748 1176 722 1196 C 600 1206 420 1206 322 1200 C 307 1198 300 1191 300 1180 Z"+ },+ {+ "id": "stone-side",+ "type": "path",+ "d": "M301 1172 C 380 1162 600 1160 744 1162 C 744 1180 736 1192 722 1196 C 600 1206 420 1206 322 1200 C 307 1198 300 1191 301 1172 Z"+ },+ {+ "id": "left-tuft",+ "type": "rect",+ "x": 292.0,+ "y": 1192.0,+ "w": 44.0,+ "h": 8.0+ },+ {+ "id": "right-tuft",+ "type": "rect",+ "x": 690.0,+ "y": 1190.0,+ "w": 52.0,+ "h": 8.0+ }+ ]+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": false+ },+ {+ "id": "halo",+ "name": "halo",+ "kind": "vector",+ "cels": [+ {+ "id": "c2",+ "frame": 0,+ "nodes": [+ {+ "id": "n8",+ "type": "ellipse",+ "cx": 650.0,+ "cy": 655.0,+ "rx": 260.0,+ "ry": 260.0,+ "fill": {+ "radial": {+ "center": [+ 650.0,+ 655.0+ ],+ "radius": 260.0,+ "stops": [+ [+ 0.0,+ "#7fd6ff66"+ ],+ [+ 0.45,+ "#3f9fd022"+ ],+ [+ 1.0,+ "#2a6f8800"+ ]+ ]+ }+ }+ }+ ]+ }+ ],+ "opacity": 1.0,+ "blend": "screen",+ "visible": true+ },+ {+ "id": "flats",+ "name": "flats",+ "kind": "paint",+ "cels": [+ {+ "id": "c3",+ "frame": 0+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true+ },+ {+ "id": "shade",+ "name": "shade",+ "kind": "paint",+ "cels": [+ {+ "id": "c4",+ "frame": 0+ }+ ],+ "opacity": 0.8,+ "blend": "multiply",+ "visible": true,+ "clip": true+ },+ {+ "id": "rim",+ "name": "rim",+ "kind": "paint",+ "cels": [+ {+ "id": "c5",+ "frame": 0+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true,+ "clip": true+ },+ {+ "id": "lines",+ "name": "lines",+ "kind": "paint",+ "cels": [+ {+ "id": "c6",+ "frame": 0+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true+ },+ {+ "id": "light",+ "name": "light",+ "kind": "vector",+ "cels": [+ {+ "id": "c7",+ "frame": 0,+ "nodes": [+ {+ "id": "n9",+ "type": "ellipse",+ "cx": 650.0,+ "cy": 668.0,+ "rx": 64.0,+ "ry": 64.0,+ "fill": {+ "radial": {+ "center": [+ 650.0,+ 668.0+ ],+ "radius": 64.0,+ "stops": [+ [+ 0.0,+ "#f4feffff"+ ],+ [+ 0.5,+ "#bff0ff88"+ ],+ [+ 1.0,+ "#6fd0ff00"+ ]+ ]+ }+ }+ },+ {+ "id": "n10",+ "type": "ellipse",+ "cx": 560.0,+ "cy": 560.0,+ "rx": 4.0,+ "ry": 4.0,+ "fill": "#dff8ffcc",+ "blur": 3.2+ },+ {+ "id": "n11",+ "type": "ellipse",+ "cx": 742.0,+ "cy": 520.0,+ "rx": 3.0,+ "ry": 3.0,+ "fill": "#dff8ffcc",+ "blur": 2.4+ },+ {+ "id": "n12",+ "type": "ellipse",+ "cx": 770.0,+ "cy": 712.0,+ "rx": 5.0,+ "ry": 5.0,+ "fill": "#dff8ffcc",+ "blur": 4.0+ },+ {+ "id": "n13",+ "type": "ellipse",+ "cx": 590.0,+ "cy": 830.0,+ "rx": 3.0,+ "ry": 3.0,+ "fill": "#dff8ffcc",+ "blur": 2.4+ },+ {+ "id": "n14",+ "type": "ellipse",+ "cx": 708.0,+ "cy": 452.0,+ "rx": 2.5,+ "ry": 2.5,+ "fill": "#dff8ffcc",+ "blur": 2.0+ },+ {+ "id": "n15",+ "type": "ellipse",+ "cx": 520.0,+ "cy": 700.0,+ "rx": 2.5,+ "ry": 2.5,+ "fill": "#dff8ffcc",+ "blur": 2.0+ }+ ]+ }+ ],+ "opacity": 1.0,+ "blend": "add",+ "visible": true+ }+ ]+}diff --git a/tests/formats/0.2.0/lantern.klad/strokes/flats/c3.strokes b/tests/formats/0.2.0/lantern.klad/strokes/flats/c3.strokesnew file mode 100644index 0000000..472d273Binary files /dev/null and b/tests/formats/0.2.0/lantern.klad/strokes/flats/c3.strokes differdiff --git a/tests/formats/0.2.0/lantern.klad/strokes/lines/c6.strokes b/tests/formats/0.2.0/lantern.klad/strokes/lines/c6.strokesnew file mode 100644index 0000000..a915714Binary files /dev/null and b/tests/formats/0.2.0/lantern.klad/strokes/lines/c6.strokes differdiff --git a/tests/formats/0.2.0/lantern.klad/strokes/rim/c5.strokes b/tests/formats/0.2.0/lantern.klad/strokes/rim/c5.strokesnew file mode 100644index 0000000..4093361Binary files /dev/null and b/tests/formats/0.2.0/lantern.klad/strokes/rim/c5.strokes differdiff --git a/tests/formats/0.2.0/lantern.klad/strokes/shade/c4.strokes b/tests/formats/0.2.0/lantern.klad/strokes/shade/c4.strokesnew file mode 100644index 0000000..0c701dbBinary files /dev/null and b/tests/formats/0.2.0/lantern.klad/strokes/shade/c4.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/.gitignore b/tests/formats/0.2.0/rig.klad/.gitignorenew file mode 100644index 0000000..ceddaa3--- /dev/null+++ b/tests/formats/0.2.0/rig.klad/.gitignore@@ -0,0 +1 @@+.cache/diff --git a/tests/formats/0.2.0/rig.klad/brushes/ink.json b/tests/formats/0.2.0/rig.klad/brushes/ink.jsonnew file mode 100644index 0000000..16be123--- /dev/null+++ b/tests/formats/0.2.0/rig.klad/brushes/ink.json@@ -0,0 +1,24 @@+{+ "format": "klad-brush/1",+ "name": "Inking pen",+ "tip": {+ "round": {+ "hardness": 0.92+ }+ },+ "spacing": 0.04,+ "dynamics": {+ "size": {+ "pressure": {+ "min": 0.06,+ "gamma": 1.5+ }+ }+ },+ "taper": [+ 10.0,+ 10.0+ ],+ "stabilizer": 24.0,+ "smoothing": 12.0+}diff --git a/tests/formats/0.2.0/rig.klad/brushes/round-bristle.json b/tests/formats/0.2.0/rig.klad/brushes/round-bristle.jsonnew file mode 100644index 0000000..f75fcbe--- /dev/null+++ b/tests/formats/0.2.0/rig.klad/brushes/round-bristle.json@@ -0,0 +1,35 @@+{+ "format": "klad-brush/1",+ "name": "Round bristle",+ "tip": {+ "image": {+ "image": "bristle-round"+ }+ },+ "spacing": 0.12,+ "angle": "follow",+ "flow": 0.4,+ "dynamics": {+ "size": {+ "pressure": {+ "min": 0.5+ }+ },+ "flow": {+ "pressure": {+ "min": 0.3+ }+ }+ },+ "grain": {+ "paper": {+ "seed": 43,+ "feature": 2+ },+ "strength": 0.15,+ "pressure": 0.5+ },+ "color": {+ "value": 0.03+ }+}diff --git a/tests/formats/0.2.0/rig.klad/doc.json b/tests/formats/0.2.0/rig.klad/doc.jsonnew file mode 100644index 0000000..0ae12f7--- /dev/null+++ b/tests/formats/0.2.0/rig.klad/doc.json@@ -0,0 +1,938 @@+{+ "format": "klad/7",+ "canvas": {+ "width": 800,+ "height": 800,+ "background": "#e9e2d4"+ },+ "timeline": {+ "fps": 12,+ "frames": 24,+ "clips": [+ {+ "name": "wave",+ "from": 0,+ "to": 23,+ "loop": true+ }+ ]+ },+ "layers": [+ {+ "id": "sky",+ "name": "sky",+ "kind": "paint",+ "cels": [+ {+ "id": "c1",+ "frame": 0,+ "parts": {+ "hill": [+ 1+ ],+ "moon": [+ 2+ ]+ }+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true,+ "depth": 3.0+ },+ {+ "id": "figure",+ "name": "figure",+ "kind": "group",+ "children": [+ {+ "id": "colour",+ "name": "colour",+ "kind": "paint",+ "cels": [+ {+ "id": "c2",+ "frame": 0,+ "hold": 1,+ "parts": {+ "body": [+ 1+ ],+ "forearm": [+ 4+ ],+ "hand": [+ 5+ ],+ "head": [+ 2+ ],+ "upper arm": [+ 3+ ]+ }+ },+ {+ "id": "c13",+ "frame": 1,+ "hold": 1,+ "tween": {+ "from": "c2",+ "to": "c5",+ "t": 0.25,+ "made": "ad3dcb1486298b46"+ },+ "parts": {+ "body": [+ 1+ ],+ "forearm": [+ 4+ ],+ "hand": [+ 5+ ],+ "head": [+ 2+ ],+ "upper arm": [+ 3+ ]+ },+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -13.75,+ "hand": -2.5,+ "upper": -8.75+ }+ }+ },+ {+ "id": "c14",+ "frame": 2,+ "hold": 1,+ "tween": {+ "from": "c2",+ "to": "c5",+ "t": 0.5,+ "made": "0768e2975d60ebad"+ },+ "parts": {+ "body": [+ 1+ ],+ "forearm": [+ 4+ ],+ "hand": [+ 5+ ],+ "head": [+ 2+ ],+ "upper arm": [+ 3+ ]+ },+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -27.5,+ "hand": -5.0,+ "upper": -17.5+ }+ }+ },+ {+ "id": "c15",+ "frame": 3,+ "hold": 1,+ "tween": {+ "from": "c2",+ "to": "c5",+ "t": 0.75,+ "made": "fd4ca1e645da4c98"+ },+ "parts": {+ "body": [+ 1+ ],+ "forearm": [+ 4+ ],+ "hand": [+ 5+ ],+ "head": [+ 2+ ],+ "upper arm": [+ 3+ ]+ },+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -41.25,+ "hand": -7.5,+ "upper": -26.25+ }+ }+ },+ {+ "id": "c5",+ "frame": 4,+ "hold": 1,+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -55.0,+ "hand": -10.0,+ "upper": -35.0+ }+ }+ },+ {+ "id": "c19",+ "frame": 5,+ "hold": 1,+ "tween": {+ "from": "c5",+ "to": "c7",+ "t": 0.25,+ "made": "dd4edd9e568fb3ec"+ },+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -46.25,+ "hand": -1.25,+ "upper": -38.75+ }+ }+ },+ {+ "id": "c20",+ "frame": 6,+ "hold": 1,+ "tween": {+ "from": "c5",+ "to": "c7",+ "t": 0.5,+ "made": "e2fc00ee5e8ea966"+ },+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -37.5,+ "hand": 7.5,+ "upper": -42.5+ }+ }+ },+ {+ "id": "c21",+ "frame": 7,+ "hold": 1,+ "tween": {+ "from": "c5",+ "to": "c7",+ "t": 0.75,+ "made": "84ad1e661f527ce9"+ },+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -28.75,+ "hand": 16.25,+ "upper": -46.25+ }+ }+ },+ {+ "id": "c7",+ "frame": 8,+ "hold": 1,+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -20.0,+ "hand": 25.0,+ "upper": -50.0+ }+ }+ },+ {+ "id": "c25",+ "frame": 9,+ "hold": 1,+ "tween": {+ "from": "c7",+ "to": "c9",+ "t": 0.25,+ "made": "84ad1e661f527ce9"+ },+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -28.75,+ "hand": 16.25,+ "upper": -46.25+ }+ }+ },+ {+ "id": "c26",+ "frame": 10,+ "hold": 1,+ "tween": {+ "from": "c7",+ "to": "c9",+ "t": 0.5,+ "made": "e2fc00ee5e8ea966"+ },+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -37.5,+ "hand": 7.5,+ "upper": -42.5+ }+ }+ },+ {+ "id": "c27",+ "frame": 11,+ "hold": 1,+ "tween": {+ "from": "c7",+ "to": "c9",+ "t": 0.75,+ "made": "dd4edd9e568fb3ec"+ },+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -46.25,+ "hand": -1.25,+ "upper": -38.75+ }+ }+ },+ {+ "id": "c9",+ "frame": 12,+ "hold": 1,+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -55.0,+ "hand": -10.0,+ "upper": -35.0+ }+ }+ },+ {+ "id": "c31",+ "frame": 13,+ "hold": 1,+ "tween": {+ "from": "c9",+ "to": "c11",+ "t": 0.25,+ "made": "dd4edd9e568fb3ec"+ },+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -46.25,+ "hand": -1.25,+ "upper": -38.75+ }+ }+ },+ {+ "id": "c32",+ "frame": 14,+ "hold": 1,+ "tween": {+ "from": "c9",+ "to": "c11",+ "t": 0.5,+ "made": "e2fc00ee5e8ea966"+ },+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -37.5,+ "hand": 7.5,+ "upper": -42.5+ }+ }+ },+ {+ "id": "c33",+ "frame": 15,+ "hold": 1,+ "tween": {+ "from": "c9",+ "to": "c11",+ "t": 0.75,+ "made": "84ad1e661f527ce9"+ },+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -28.75,+ "hand": 16.25,+ "upper": -46.25+ }+ }+ },+ {+ "id": "c11",+ "frame": 16,+ "hold": 8,+ "pose": {+ "rest": "c2",+ "angles": {+ "fore": -20.0,+ "hand": 25.0,+ "upper": -50.0+ }+ }+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true,+ "rig": {+ "skeleton": "bones"+ }+ },+ {+ "id": "lines",+ "name": "lines",+ "kind": "paint",+ "cels": [+ {+ "id": "c3",+ "frame": 0,+ "hold": 1,+ "parts": {+ "body": [+ 1+ ],+ "forearm": [+ 5,+ 6+ ],+ "head": [+ 2,+ 7,+ 8+ ],+ "upper arm": [+ 3,+ 4+ ]+ }+ },+ {+ "id": "c16",+ "frame": 1,+ "hold": 1,+ "tween": {+ "from": "c3",+ "to": "c6",+ "t": 0.25,+ "made": "6421b74f3cf51f86"+ },+ "parts": {+ "body": [+ 1+ ],+ "forearm": [+ 5,+ 6+ ],+ "head": [+ 2,+ 7,+ 8+ ],+ "upper arm": [+ 3,+ 4+ ]+ },+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -13.75,+ "hand": -2.5,+ "upper": -8.75+ }+ }+ },+ {+ "id": "c17",+ "frame": 2,+ "hold": 1,+ "tween": {+ "from": "c3",+ "to": "c6",+ "t": 0.5,+ "made": "ddbfd3039517beb1"+ },+ "parts": {+ "body": [+ 1+ ],+ "forearm": [+ 5,+ 6+ ],+ "head": [+ 2,+ 7,+ 8+ ],+ "upper arm": [+ 3,+ 4+ ]+ },+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -27.5,+ "hand": -5.0,+ "upper": -17.5+ }+ }+ },+ {+ "id": "c18",+ "frame": 3,+ "hold": 1,+ "tween": {+ "from": "c3",+ "to": "c6",+ "t": 0.75,+ "made": "14559a8475801427"+ },+ "parts": {+ "body": [+ 1+ ],+ "forearm": [+ 5,+ 6+ ],+ "head": [+ 2,+ 7,+ 8+ ],+ "upper arm": [+ 3,+ 4+ ]+ },+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -41.25,+ "hand": -7.5,+ "upper": -26.25+ }+ }+ },+ {+ "id": "c6",+ "frame": 4,+ "hold": 1,+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -55.0,+ "hand": -10.0,+ "upper": -35.0+ }+ }+ },+ {+ "id": "c22",+ "frame": 5,+ "hold": 1,+ "tween": {+ "from": "c6",+ "to": "c8",+ "t": 0.25,+ "made": "2df37cfcbd3d5dc6"+ },+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -46.25,+ "hand": -1.25,+ "upper": -38.75+ }+ }+ },+ {+ "id": "c23",+ "frame": 6,+ "hold": 1,+ "tween": {+ "from": "c6",+ "to": "c8",+ "t": 0.5,+ "made": "30baea0bb5426bf3"+ },+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -37.5,+ "hand": 7.5,+ "upper": -42.5+ }+ }+ },+ {+ "id": "c24",+ "frame": 7,+ "hold": 1,+ "tween": {+ "from": "c6",+ "to": "c8",+ "t": 0.75,+ "made": "47f1554d5e043fef"+ },+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -28.75,+ "hand": 16.25,+ "upper": -46.25+ }+ }+ },+ {+ "id": "c8",+ "frame": 8,+ "hold": 1,+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -20.0,+ "hand": 25.0,+ "upper": -50.0+ }+ }+ },+ {+ "id": "c28",+ "frame": 9,+ "hold": 1,+ "tween": {+ "from": "c8",+ "to": "c10",+ "t": 0.25,+ "made": "47f1554d5e043fef"+ },+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -28.75,+ "hand": 16.25,+ "upper": -46.25+ }+ }+ },+ {+ "id": "c29",+ "frame": 10,+ "hold": 1,+ "tween": {+ "from": "c8",+ "to": "c10",+ "t": 0.5,+ "made": "30baea0bb5426bf3"+ },+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -37.5,+ "hand": 7.5,+ "upper": -42.5+ }+ }+ },+ {+ "id": "c30",+ "frame": 11,+ "hold": 1,+ "tween": {+ "from": "c8",+ "to": "c10",+ "t": 0.75,+ "made": "2df37cfcbd3d5dc6"+ },+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -46.25,+ "hand": -1.25,+ "upper": -38.75+ }+ }+ },+ {+ "id": "c10",+ "frame": 12,+ "hold": 1,+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -55.0,+ "hand": -10.0,+ "upper": -35.0+ }+ }+ },+ {+ "id": "c34",+ "frame": 13,+ "hold": 1,+ "tween": {+ "from": "c10",+ "to": "c12",+ "t": 0.25,+ "made": "2df37cfcbd3d5dc6"+ },+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -46.25,+ "hand": -1.25,+ "upper": -38.75+ }+ }+ },+ {+ "id": "c35",+ "frame": 14,+ "hold": 1,+ "tween": {+ "from": "c10",+ "to": "c12",+ "t": 0.5,+ "made": "30baea0bb5426bf3"+ },+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -37.5,+ "hand": 7.5,+ "upper": -42.5+ }+ }+ },+ {+ "id": "c36",+ "frame": 15,+ "hold": 1,+ "tween": {+ "from": "c10",+ "to": "c12",+ "t": 0.75,+ "made": "47f1554d5e043fef"+ },+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -28.75,+ "hand": 16.25,+ "upper": -46.25+ }+ }+ },+ {+ "id": "c12",+ "frame": 16,+ "hold": 8,+ "pose": {+ "rest": "c3",+ "angles": {+ "fore": -20.0,+ "hand": 25.0,+ "upper": -50.0+ }+ }+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true,+ "rig": {+ "skeleton": "bones"+ }+ },+ {+ "id": "bones",+ "name": "bones",+ "kind": "bones",+ "opacity": 1.0,+ "blend": "normal",+ "visible": true,+ "bones": [+ {+ "name": "body",+ "head": [+ 400.0,+ 590.0+ ],+ "tail": [+ 400.0,+ 360.0+ ]+ },+ {+ "name": "head",+ "parent": "body",+ "head": [+ 400.0,+ 360.0+ ],+ "tail": [+ 400.0,+ 230.0+ ]+ },+ {+ "name": "upper",+ "parent": "body",+ "head": [+ 452.0,+ 392.0+ ],+ "tail": [+ 560.0,+ 360.0+ ]+ },+ {+ "name": "fore",+ "parent": "upper",+ "head": [+ 560.0,+ 360.0+ ],+ "tail": [+ 650.0,+ 330.0+ ]+ },+ {+ "name": "hand",+ "parent": "fore",+ "head": [+ 650.0,+ 330.0+ ],+ "tail": [+ 694.0,+ 316.0+ ]+ }+ ]+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true+ },+ {+ "id": "lantern",+ "name": "lantern",+ "kind": "vector",+ "cels": [+ {+ "id": "c4",+ "frame": 0,+ "nodes": [+ {+ "id": "flame",+ "type": "ellipse",+ "cx": 170.0,+ "cy": 260.0,+ "rx": 20.0,+ "ry": 28.0,+ "fill": "#ffcc66",+ "blur": 6.0,+ "keys": {+ "opacity": [+ {+ "frame": 0,+ "value": 1.0,+ "ease": "in-out"+ },+ {+ "frame": 6,+ "value": 0.55,+ "ease": "in-out"+ },+ {+ "frame": 12,+ "value": 1.0+ }+ ]+ }+ },+ {+ "id": "lamp",+ "type": "rect",+ "x": 150.0,+ "y": 230.0,+ "w": 40.0,+ "h": 64.0,+ "radius": 8.0,+ "fill": "none",+ "stroke": {+ "paint": "#1f1d26",+ "width": 4.0,+ "cap": "round",+ "join": "round"+ }+ }+ ]+ }+ ],+ "opacity": 1.0,+ "blend": "normal",+ "visible": true,+ "keys": {+ "y": [+ {+ "frame": 0,+ "value": 0.0,+ "ease": "in-out"+ },+ {+ "frame": 12,+ "value": -18.0,+ "ease": "in-out"+ },+ {+ "frame": 23,+ "value": 0.0+ }+ ]+ }+ }+ ]+}diff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c11.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c11.strokesnew file mode 100644index 0000000..a4c87f7Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c11.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c13.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c13.strokesnew file mode 100644index 0000000..c13f3f3Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c13.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c14.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c14.strokesnew file mode 100644index 0000000..9ad1785Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c14.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c15.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c15.strokesnew file mode 100644index 0000000..07246c4Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c15.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c19.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c19.strokesnew file mode 100644index 0000000..394b756Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c19.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c2.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c2.strokesnew file mode 100644index 0000000..3e2b22eBinary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c2.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c20.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c20.strokesnew file mode 100644index 0000000..78ece64Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c20.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c21.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c21.strokesnew file mode 100644index 0000000..0b8eaa0Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c21.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c25.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c25.strokesnew file mode 100644index 0000000..0b8eaa0Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c25.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c26.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c26.strokesnew file mode 100644index 0000000..78ece64Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c26.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c27.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c27.strokesnew file mode 100644index 0000000..394b756Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c27.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c31.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c31.strokesnew file mode 100644index 0000000..394b756Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c31.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c32.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c32.strokesnew file mode 100644index 0000000..78ece64Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c32.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c33.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c33.strokesnew file mode 100644index 0000000..0b8eaa0Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c33.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c5.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c5.strokesnew file mode 100644index 0000000..b75d63cBinary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c5.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c7.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c7.strokesnew file mode 100644index 0000000..a4c87f7Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c7.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/colour/c9.strokes b/tests/formats/0.2.0/rig.klad/strokes/colour/c9.strokesnew file mode 100644index 0000000..b75d63cBinary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/colour/c9.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c10.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c10.strokesnew file mode 100644index 0000000..9004247Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c10.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c12.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c12.strokesnew file mode 100644index 0000000..c06d4b3Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c12.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c16.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c16.strokesnew file mode 100644index 0000000..57809e1Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c16.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c17.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c17.strokesnew file mode 100644index 0000000..12ad241Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c17.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c18.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c18.strokesnew file mode 100644index 0000000..51c3d69Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c18.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c22.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c22.strokesnew file mode 100644index 0000000..b43693bBinary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c22.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c23.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c23.strokesnew file mode 100644index 0000000..620a0d6Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c23.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c24.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c24.strokesnew file mode 100644index 0000000..585318aBinary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c24.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c28.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c28.strokesnew file mode 100644index 0000000..585318aBinary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c28.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c29.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c29.strokesnew file mode 100644index 0000000..620a0d6Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c29.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c3.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c3.strokesnew file mode 100644index 0000000..f0ad2a1Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c3.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c30.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c30.strokesnew file mode 100644index 0000000..b43693bBinary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c30.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c34.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c34.strokesnew file mode 100644index 0000000..b43693bBinary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c34.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c35.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c35.strokesnew file mode 100644index 0000000..620a0d6Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c35.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c36.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c36.strokesnew file mode 100644index 0000000..585318aBinary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c36.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c6.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c6.strokesnew file mode 100644index 0000000..9004247Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c6.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/lines/c8.strokes b/tests/formats/0.2.0/rig.klad/strokes/lines/c8.strokesnew file mode 100644index 0000000..c06d4b3Binary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/lines/c8.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/strokes/sky/c1.strokes b/tests/formats/0.2.0/rig.klad/strokes/sky/c1.strokesnew file mode 100644index 0000000..b02832cBinary files /dev/null and b/tests/formats/0.2.0/rig.klad/strokes/sky/c1.strokes differdiff --git a/tests/formats/0.2.0/rig.klad/weights/bones.weights b/tests/formats/0.2.0/rig.klad/weights/bones.weightsnew file mode 100644index 0000000..f082c8dBinary files /dev/null and b/tests/formats/0.2.0/rig.klad/weights/bones.weights differdiff --git a/tests/formats/0.2.0/sprout.klad/.gitignore b/tests/formats/0.2.0/sprout.klad/.gitignorenew file mode 100644index 0000000..ceddaa3--- /dev/null+++ b/tests/formats/0.2.0/sprout.klad/.gitignore@@ -0,0 +1 @@+.cache/diff --git a/tests/formats/0.2.0/sprout.klad/doc.json b/tests/formats/0.2.0/sprout.klad/doc.jsonnew file mode 100644index 0000000..99f386c--- /dev/null+++ b/tests/formats/0.2.0/sprout.klad/doc.json@@ -0,0 +1,189 @@+{+ "format": "klad/7",+ "canvas": {+ "width": 32,+ "height": 32+ },+ "timeline": {+ "fps": 8,+ "frames": 12,+ "origin": [+ 16.0,+ 26.0+ ],+ "clips": [+ {+ "name": "idle",+ "from": 0,+ "to": 7,+ "loop": true+ },+ {+ "name": "walk",+ "from": 8,+ "to": 11,+ "loop": true+ }+ ]+ },+ "palette": [+ {+ "color": "#231d2b",+ "name": "ink",+ "id": "p19"+ },+ {+ "color": "#2c5a45",+ "name": "leaf-1",+ "id": "p23",+ "ramp": "leaf"+ },+ {+ "color": "#4a8a3c",+ "name": "leaf-2",+ "id": "p22",+ "ramp": "leaf"+ },+ {+ "color": "#8cc24a",+ "name": "leaf-3",+ "id": "p21",+ "ramp": "leaf"+ },+ {+ "color": "#4b2f2d",+ "name": "soil-1",+ "id": "p20",+ "ramp": "soil"+ },+ {+ "color": "#7d5136",+ "name": "soil-2",+ "id": "p25",+ "ramp": "soil"+ },+ {+ "color": "#b07f4f",+ "name": "soil-3",+ "id": "p24",+ "ramp": "soil"+ },+ {+ "color": "#27304f",+ "name": "visor",+ "id": "p26"+ },+ {+ "color": "#e9f1ff",+ "name": "eye",+ "id": "p27"+ }+ ],+ "layers": [+ {+ "id": "l-legs",+ "name": "legs",+ "kind": "paint",+ "cels": [+ {+ "id": "c1",+ "frame": 0+ },+ {+ "id": "c2",+ "frame": 4+ },+ {+ "id": "c3",+ "frame": 8+ },+ {+ "id": "c4",+ "frame": 9+ },+ {+ "id": "c5",+ "frame": 10+ },+ {+ "id": "c6",+ "frame": 11+ }+ ],+ "pixel": true,+ "opacity": 1.0,+ "blend": "normal",+ "visible": true+ },+ {+ "id": "l-body",+ "name": "body",+ "kind": "paint",+ "cels": [+ {+ "id": "c7",+ "frame": 0+ },+ {+ "id": "c8",+ "frame": 4+ },+ {+ "id": "c9",+ "frame": 8+ },+ {+ "id": "c10",+ "frame": 9+ },+ {+ "id": "c11",+ "frame": 10+ },+ {+ "id": "c12",+ "frame": 11+ }+ ],+ "pixel": true,+ "opacity": 1.0,+ "blend": "normal",+ "visible": true+ },+ {+ "id": "l-sprout",+ "name": "sprout",+ "kind": "paint",+ "cels": [+ {+ "id": "c13",+ "frame": 0+ },+ {+ "id": "c14",+ "frame": 4+ },+ {+ "id": "c15",+ "frame": 8+ },+ {+ "id": "c16",+ "frame": 9+ },+ {+ "id": "c17",+ "frame": 10+ },+ {+ "id": "c18",+ "frame": 11+ }+ ],+ "pixel": true,+ "opacity": 1.0,+ "blend": "normal",+ "visible": true+ }+ ]+}diff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-body/c10.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-body/c10.strokesnew file mode 100644index 0000000..5d1b3dbBinary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-body/c10.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-body/c11.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-body/c11.strokesnew file mode 100644index 0000000..f5dd75eBinary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-body/c11.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-body/c12.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-body/c12.strokesnew file mode 100644index 0000000..5d1b3dbBinary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-body/c12.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-body/c7.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-body/c7.strokesnew file mode 100644index 0000000..5d1b3dbBinary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-body/c7.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-body/c8.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-body/c8.strokesnew file mode 100644index 0000000..dcd3527Binary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-body/c8.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-body/c9.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-body/c9.strokesnew file mode 100644index 0000000..f5dd75eBinary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-body/c9.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c1.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c1.strokesnew file mode 100644index 0000000..ac32ccfBinary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c1.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c2.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c2.strokesnew file mode 100644index 0000000..c0c252bBinary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c2.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c3.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c3.strokesnew file mode 100644index 0000000..4e12ed1Binary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c3.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c4.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c4.strokesnew file mode 100644index 0000000..d5f13e7Binary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c4.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c5.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c5.strokesnew file mode 100644index 0000000..23e059aBinary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c5.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c6.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c6.strokesnew file mode 100644index 0000000..427c175Binary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-legs/c6.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c13.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c13.strokesnew file mode 100644index 0000000..fb69252Binary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c13.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c14.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c14.strokesnew file mode 100644index 0000000..c28ef37Binary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c14.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c15.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c15.strokesnew file mode 100644index 0000000..c28ef37Binary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c15.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c16.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c16.strokesnew file mode 100644index 0000000..fb69252Binary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c16.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c17.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c17.strokesnew file mode 100644index 0000000..3b3b154Binary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c17.strokes differdiff --git a/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c18.strokes b/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c18.strokesnew file mode 100644index 0000000..fb69252Binary files /dev/null and b/tests/formats/0.2.0/sprout.klad/strokes/l-sprout/c18.strokes differ