Skip to content

Commit

Permalink
Revert "Add pucker/bloat modifier"
Browse files Browse the repository at this point in the history
This reverts commit 4ff761c.
  • Loading branch information
b-wils committed Nov 18, 2024
1 parent 5a8245e commit c78a335
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 233 deletions.
23 changes: 0 additions & 23 deletions docs/specs/shapes.md
Original file line number Diff line number Diff line change
Expand Up @@ -657,26 +657,3 @@ separately, $start$ and $end$ being applied to each shape.
* When `m` has a value of `2` (Sequential), all the shapes MUST be considered
as following each other in render order. $start$ and $end$ refer to the whole
length created by concatenating each shape.


<h3 id="pucker-bloat">Pucker / Bloat</h3>

{schema_string:shapes/pucker-bloat/description}

{schema_object:shapes/pucker-bloat}

When `a` is `0`, nothing changes.<br/>
When `a` is positive, the vertices are pulled towards the center, with `100` being at the center. And the tangents are pushed away.<br/>
When `a` is negative the vertices are pushed away from the center with `100` being twice far away from the center. And the tangents are pulled towards the center.<br/>

The center is defined as the mean of the bezier vertices.

<lottie-playground example="pucker_bloat.json">
<form>
<input title="Amount" type="range" min="-100" value="50" max="100"/>
</form>
<json>lottie.layers[0].shapes[0].it[1]</json>
<script>
lottie.layers[0].shapes[0].it[1].a.k = data["Amount"];
</script>
</lottie-playground>
179 changes: 0 additions & 179 deletions docs/static/examples/pucker_bloat.json

This file was deleted.

1 change: 0 additions & 1 deletion schema/shapes/all-graphic-elements.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
{"$ref": "#/$defs/shapes/stroke"},
{"$ref": "#/$defs/shapes/transform"},
{"$ref": "#/$defs/shapes/trim-path"},
{"$ref": "#/$defs/shapes/pucker-bloat"},
{"$ref": "#/$defs/shapes/unknown-shape"}
]
}
30 changes: 0 additions & 30 deletions schema/shapes/pucker-bloat.json

This file was deleted.

0 comments on commit c78a335

Please sign in to comment.