Skip to content

Commit

Permalink
Add animations
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanchuan committed Aug 27, 2023
1 parent 2f7ceef commit 46ae024
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ export default {
stroke-linecap: round;
line*16x16 {
draw: @r(1s);
x1, y1, x2, y2: @p(
@nx(-1) @ny(-1) @nx @ny,
@nx @ny(-1) @nx(-1) @ny,
Expand All @@ -319,6 +320,7 @@ export default {
stroke-linecap: square;
stroke: #1b2d37;
stroke-width: 1;
draw: 3s;
d: M 4 5
@p(@p(h -1 v -2 h 3 v 4 h -5 v -6 h 6)
@flipv.reverse.p)
Expand All @@ -336,6 +338,7 @@ export default {
fill: none;
polyline {
draw: 1s;
points: @m61.@Plot(
turn: 20.1;
r: t;;
Expand Down

0 comments on commit 46ae024

Please sign in to comment.