Skip to content

Instantly share code, notes, and snippets.

View andreaskundig's full-sized avatar

Andréas Kündig andreaskundig

View GitHub Profile
load({"lineData":[{"loopDuration":2000,"segments":[["Point",222,101],["Point",230,104],["Point",246,110],["Point",274,120],["Point",311,134],["Point",348,149],["Point",384,164],["Point",419,179],["Point",452,194],["Point",479,204],["Point",507,215],["Point",528,221],["Point",546,225],["Point",562,228],["Point",575,229],["Point",587,230],["Point",599,230],["Point",611,230],["Point",623,228],["Point",634,225],["Point",647,219],["Point",664,209],["Point",677,200],["Point",694,186],["Point",708,174],["Point",719,162],["Point",727,155],["Point",729,150],["Point",731,148],["Point",731,147],["Point",729,147],["Point",726,147],["Point",722,149],["Point",714,149],["Point",705,149],["Point",692,149],["Point",678,147],["Point",659,143],["Point",640,140],["Point",625,135],["Point",610,130],["Point",598,127],["Point",588,125],["Point",579,122],["Point",572,122],["Point",565,122],["Point",559,122],["Point",553,123],["Point",545,125],["Point",539,128],["Point",535,131],["Point",533,132],["Point",532,134],["Point",531,138],[
@andreaskundig
andreaskundig / file1.txt
Created April 30, 2018 22:29
the description for this gist
String file contents
@andreaskundig
andreaskundig / looper.jsonp
Created April 30, 2018 22:43
stroke looper animation
load({"width":687,"height":720.33,"lineData":[{"start":1525128178430,"last":3126,"beat":2000,"lifetime":500,"color":"#303F9F","multiPeriod":1,"strokeWidth":20,"times":[0,6,22,38,56,74,90,108,124,140,156,174,190,206,222,240,256,274,290,306,324,340,356,372,390,406,422,440,456,472,490,508,522,540,556,572,590,606,622,640,656,672,690,708,722,740,756,772,790,806,824,840,858,872,890,906,922,940,956,972,990,1006,1022,1040,1056,1122,1140,1156,1172,1190,1206,1222,1240,1256,1274,1290,1306,1324,1340,1356,1372,1390,1406,1422,1440,1456,1472,1490,1506,1522,1540,1556,1572,1588,1606,1622,1640,1656,1672,1690,1706,1722,1740,1756,1772,1790,1806,1822,1840,1856,1874,1890,1906,1922,1940,1956,1972,1990,2006,2022,2040,2056,2072,2090,2106,2122,2140,2156,2172,2190,2206,2222,2240,2256,2272,2290,2306,2322,2340,2356,2372,2390,2406,2422,2440,2456,2472,2490,2506,2522,2540,2556,2572,2606,2622,2640,2656,2672,2688,2706,2722,2738,2756,2790],"segments":[[240,227],[244,226],[259,221],[272,221],[292,219],[318,219],[344,221],[360,233],[369,255],[37
@andreaskundig
andreaskundig / looper.jsonp
Created May 1, 2018 08:01
stroke looper animation
load({"width":1664,"height":720.33,"lineData":[{"start":1525161678340,"last":10958,"beat":2000,"lifetime":500,"color":"#5C6BC0","multiPeriod":1,"strokeWidth":50,"times":[0,64,78,80,92,96,104,112,122,130,138,146,160,162,174,180,188,196,210,212,220,228,236,244,252,268,286,294,300,318,334,352,366,384,400,416,434,450,476,508,548,598,630,728,744,758,760,770,778,792,794,802,810,818,828,836,852,860,868,876,884,902,918,934,958,976,992,1008,1042,1074,1148,1174,1274,1288,1308,1326,1328,1342,1344,1352,1360,1370,1378,1386,1394,1402,1410,1418,1426,1434,1442,1452,1460,1468,1476,1484,1492,1500,1510,1516,1526,1534,1542,1550,1558,1566,1576,1582,1592,1600,1610,1616,1626,1632,1642,1648,1658,1664,1676,1680,1694,1696,1710,1714,1726,1730,1744,1746,1758,1762,1776,1778,1792,1802,1812,1812,1826,1830,1844,1844,1852,1862,1870,1876,1884,1892,1902,1910,1918,1932,1934,1942,1950,1958,1966,1974,1982,1992,1998,2008,2016,2026,2032,2042,2048,2058,2064,2078,2080,2094,2096,2108,2112,2130,2146,2162,2178,2194,2218,2250,2276,2326,2364,2380,2398,240
@andreaskundig
andreaskundig / looper.jsonp
Created May 1, 2018 08:31
stroke looper animation
load({"width":1664,"height":720.33,"lineData":[{"start":1525163483732,"last":1284,"beat":2000,"lifetime":500,"color":"#212121","multiPeriod":1,"strokeWidth":20,"times":[0,10,26,44,60,78,94,110,128,144,162,178,194,210,228,244,260,278,294,310,328,344,360,394,410,428,444,460,478,494,510,528,544,560,578,594,610,644,660,678,694,710,728,744,760,778,794,810,828,844,860,878,894,910,928,944,960,978,994,1010,1028,1044,1060,1078],"segments":[[358,83],[362,83],[370,83],[384,84],[423,89],[465,99],[560,122],[649,154],[707,183],[757,216],[790,245],[822,274],[862,312],[888,341],[894,356],[899,368],[908,386],[913,398],[918,408],[920,414],[921,418],[923,422],[925,425],[926,431],[908,444],[861,469],[822,482],[793,486],[740,488],[698,482],[649,472],[621,459],[600,443],[593,435],[588,427],[582,423],[578,419],[577,416],[581,413],[601,404],[618,398],[644,386],[689,364],[763,329],[829,300],[864,289],[887,284],[900,281],[922,274],[946,268],[973,264],[1016,255],[1037,248],[1063,239],[1104,221],[1150,199],[1193,181],[1227,165],[1271,15
@andreaskundig
andreaskundig / looper.jsonp
Created May 1, 2018 08:35
stroke looper animation
load({"width":687,"height":720.33,"lineData":[{"start":1525163738050,"last":3006,"beat":2000,"lifetime":500,"color":"#212121","multiPeriod":1,"strokeWidth":20,"times":[0,82,98,114,130,148,166,182,198,214,232,248,264,282,314,348,398,414,430,448,464,480,498,514,532,548,664,680,698,714,732,748,764,780,798,814,832,848,864,880,898,930,948,980,998,1014,1030,1048,1064,1080,1098,1114,1132,1148,1164,1182,1198,1214,1248,1264,1280,1298,1314,1330,1348,1364,1380,1398,1414,1432,1464,1482,1498,1514,1532,1548,1564,1580,1598,1614,1630,1648,1664,1698,1714,1732,1748,1766,1780,1798,1814,1830,1852,1880,1898,1914,1932,1948,1964,1980,1996,2014,2030,2064,2080,2098,2114,2130,2148,2166,2180,2198,2214,2230,2248,2330,2348,2364,2380,2396,2414,2430,2446,2464,2480,2498,2514,2530],"segments":[[415,160],[413,167],[418,185],[427,219],[433,258],[441,302],[452,357],[464,418],[470,445],[473,463],[475,477],[476,487],[476,490],[476,495],[476,499],[474,502],[469,503],[457,503],[427,503],[380,505],[306,511],[217,515],[131,517],[77,520],[48,516],[37,
@andreaskundig
andreaskundig / looper.jsonp
Created May 1, 2018 08:37
stroke looper animation
load({"width":687,"height":720.33,"lineData":[{"start":1525163824856,"last":3094,"beat":2000,"lifetime":500,"color":"#212121","multiPeriod":1,"strokeWidth":20,"times":[0,144,160,176,192,210,226,242,260,276,294,310,326,342,360,376,392,410,426,444,526,660,692,710,726,742,760,776,960,978,992,1010,1026,1042,1060,1076,1094,1110,1126,1142,1160,1176,1194,1210,1242,1260,1276,1310,1410,1626,1644,1660,1676,1692,1710,1726,1742,1760,1776,1792,1810,1826,1842,1860,1876,1892,1910,1926,1942,2210,2258,2276,2292,2310,2326,2342,2360,2376,2392,2408,2426,2442,2460,2476,2494,2510,2526,2542,2576,2592,2610,2626,2642,2660,2676,2692,2710,2726,2742],"segments":[[28,53],[31,53],[39,51],[49,49],[70,47],[107,47],[150,48],[218,50],[288,56],[331,60],[359,62],[390,65],[419,65],[437,65],[455,65],[474,65],[492,62],[513,60],[530,60],[536,60],[539,60],[542,58],[549,58],[563,58],[588,64],[635,73],[659,76],[666,79],[665,82],[650,91],[619,109],[557,153],[497,211],[452,279],[409,352],[377,422],[354,475],[338,515],[328,545],[316,578],[310,593],[306,6
@andreaskundig
andreaskundig / looper.jsonp
Created May 1, 2018 08:40
stroke looper animation
load({"width":687,"height":720.33,"lineData":[{"start":1525164052760,"last":2062,"beat":2000,"lifetime":500,"color":"#212121","multiPeriod":1,"strokeWidth":20,"times":[0,32,48,66,82,100,116,132,148,166,184,200,216,232,250,266,282,298,316,332,350,366,382,398,416,432,450,468,486,498,516,532,548,566,582,598,616,632,648,666,682,700,716,734,748,766,782,800,816,832,848,866,882,900,916,934,948,966,982,998,1016,1032,1048,1066,1082,1098,1116,1132,1148,1166,1182,1198,1216,1232,1282,1298,1348,1366,1416,1448,1516,1566,1598,1616,1632,1648,1666,1682,1698,1716,1734,1748,1766,1782,1800,1814,1832,1848,1866,1916,1948],"segments":[[259,96],[263,96],[279,96],[298,96],[327,99],[358,104],[382,108],[405,116],[421,124],[436,138],[439,153],[439,172],[435,192],[428,210],[416,234],[400,261],[385,286],[369,307],[351,329],[333,348],[302,371],[283,379],[275,383],[258,386],[244,389],[228,388],[214,382],[200,374],[196,371],[187,355],[185,342],[185,326],[189,309],[194,290],[198,279],[200,271],[205,264],[212,258],[218,252],[227,246],[234,242]
@andreaskundig
andreaskundig / looper.jsonp
Created May 1, 2018 08:54
stroke looper animation
load({"width":687,"height":720.33,"lineData":[{"start":1525164856034,"last":690,"beat":2000,"lifetime":500,"color":"#212121","multiPeriod":1,"strokeWidth":20,"times":[0,68,84,100,118,134,150,166,184,200,218,234,250,266,284,300,318,334,350,368,384,400,416,434,450,466,484,584,600,618,634,650,666,684,690],"segments":[[289,109],[292,112],[296,113],[301,116],[307,120],[313,125],[325,134],[336,147],[354,166],[373,189],[391,211],[409,233],[422,248],[431,259],[435,271],[438,281],[438,292],[438,304],[435,318],[433,326],[432,333],[431,338],[427,346],[422,353],[418,362],[413,367],[411,370],[411,365],[406,357],[403,347],[401,338],[401,323],[407,308],[417,293],[422,281]]},{"start":1525164857546,"last":1592,"beat":2000,"lifetime":500,"color":"#212121","multiPeriod":1,"strokeWidth":20,"times":[0,88,104,122,138,154,172,188,204,222,288,306,322,338,356,372,388,404,422,438,454,472,504,522,538,554,572,588,606,622,638,654,672,688,704,720,738,754,772,788,804,822,838,854,870,888,904,922,954,988,1004,1022,1038,1054,1072,1088,1104,11
@andreaskundig
andreaskundig / looper.jsonp
Created May 1, 2018 08:57
stroke looper animation
load({"width":1664,"height":720.33,"lineData":[{"start":1525165055226,"last":488,"beat":2000,"lifetime":500,"color":"#212121","multiPeriod":1,"strokeWidth":20,"times":[0,74,90,106,124,142,158,174,190,208,224,240,256,274,290,306,324,340,474,486],"segments":[[548,96],[551,98],[556,99],[569,101],[591,106],[617,113],[647,128],[704,157],[764,185],[819,207],[848,215],[861,222],[868,225],[887,237],[913,256],[939,278],[960,296],[968,304],[971,305],[985,292]]}]});