Skip to content

Instantly share code, notes, and snippets.

@andreaskundig
Created April 22, 2024 13:19
Show Gist options
  • Save andreaskundig/93de1482d7d898f184cbe7ad201e8a9b to your computer and use it in GitHub Desktop.
Save andreaskundig/93de1482d7d898f184cbe7ad201e8a9b to your computer and use it in GitHub Desktop.
stroke looper animation
load({"width":1517,"height":654,"speed":1,"lineData":[{"start":1713791934631,"last":2231,"beat":1000,"lifetime":2000,"color":"#FFB74D","multiPeriod":1,"strokeWidth":2,"times":[1,509,542,575,592,625,659,692,725,759,798,841,894,961,1041,1108,1158,1208,1258,1308,1359,1407,1441,1475,1511,1543,1575,1609,1640,1674,1691,1724,1758,1808,1859,1907,1941,1975,2009,2043,2076,2092,2124,2140,2173],"segments":[[395.45140894474855,127.66667532037823],[394.45140894474855,130.66667532037823],[394.45140894474855,133.66667532037823],[393.45140894474855,136.66667532037823],[392.45140894474855,139.66667532037823],[392.45140894474855,143.66667532037823],[391.45140894474855,146.66667532037823],[390.45140894474855,149.66667532037823],[390.45140894474855,153.66667532037823],[389.45140894474855,156.66667532037823],[388.45140894474855,159.66667532037823],[387.45140894474855,163.66667532037823],[386.45140894474855,166.66667532037823],[386.45140894474855,169.66667532037823],[385.45140894474855,172.66667532037823],[385.45140894474855,175.66667532037823],[385.45140894474855,178.66667532037823],[385.45140894474855,181.66667532037823],[385.45140894474855,184.66667532037823],[386.45140894474855,187.66667532037823],[386.45140894474855,190.66667532037823],[386.45140894474855,193.66667532037823],[387.45140894474855,196.66667532037823],[388.45140894474855,200.66667532037823],[390.45140894474855,203.66667532037823],[391.45140894474855,206.66667532037823],[392.45140894474855,210.66667532037823],[393.45140894474855,213.66667532037823],[395.45140894474855,216.66667532037823],[396.45140894474855,219.66667532037823],[397.45140894474855,222.66667532037823],[400.45140894474855,225.66667532037823],[401.45140894474855,229.66667532037823],[403.45140894474855,232.66667532037823],[406.45140894474855,235.66667532037823],[409.45140894474855,237.66667532037823],[412.45140894474855,238.66667532037823],[415.45140894474855,240.66667532037823],[418.45140894474855,241.66667532037823],[421.45140894474855,242.66667532037823],[425.45140894474855,243.66667532037823],[428.45140894474855,244.66667532037823],[431.45140894474855,245.66667532037823],[434.45140894474855,245.66667532037823],[438.45140894474855,245.66667532037823]]},{"start":1713791937289,"last":3,"beat":1000,"lifetime":2000,"color":"#FFB74D","multiPeriod":1,"strokeWidth":2,"times":[0],"segments":[[440.45140894474855,245.66667532037823]]},{"start":1713791939749,"last":465,"beat":1000,"lifetime":2000,"color":"#FFB74D","multiPeriod":1,"strokeWidth":2,"times":[0,155,173,187,204,222,247,271,282,305,322,338,354,371,388,406,422],"segments":[[515.4514089447486,95.66667532037823],[524.4514089447486,95.66667532037823],[545.4514089447486,95.66667532037823],[568.4514089447486,95.66667532037823],[608.4514089447486,94.66667532037823],[641.4514089447486,93.66667532037823],[723.4514089447486,92.66667532037823],[765.4514089447486,87.66667532037823],[805.4514089447486,82.66667532037823],[848.4514089447486,78.66667532037823],[904.4514089447486,70.66667532037823],[1001.4514089447486,51.66667532037823],[1076.4514089447487,37.66667532037823],[1149.4514089447487,21.666675320378232],[1217.4514089447487,4.666675320378232],[1291.4514089447487,-18.333324679621768],[1307.4514089447487,-23.333324679621768]]}],"backgroundColor":"rgb(255,255,255)"});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment