1 | default: |
---|
2 | [[0, 0]]: M0,0L0,0Z |
---|
3 | [[0, 0], [1, 1]]: M0,0L1,1L1,0L0,0Z |
---|
4 | [[0, 0], [1, 1], [2, 0]]: M0,0L1,1L2,0L2,0L1,0L0,0Z |
---|
5 | |
---|
6 | x(function() { return i++; }): |
---|
7 | [[0, 0]]: M0,0L0,0Z |
---|
8 | [[0, 0], [1, 1]]: M1,0L2,1L2,0L1,0Z |
---|
9 | [[0, 0], [1, 1], [2, 0]]: M3,0L4,1L5,0L5,0L4,0L3,0Z |
---|
10 | |
---|
11 | y(function() { return i++; }): |
---|
12 | [[0, 0]]: M0,0L0,0Z |
---|
13 | [[0, 0], [1, 1]]: M0,1L1,2L1,2L0,1Z |
---|
14 | [[0, 0], [1, 1], [0, 2]]: M0,3L1,4L0,5L0,5L1,4L0,3Z |
---|
15 | |
---|
16 | y0(-1): |
---|
17 | [[0, 0]]: M0,0L0,-1Z |
---|
18 | [[0, 0], [1, 1]]: M0,0L1,1L1,-1L0,-1Z |
---|
19 | [[0, 0], [1, 1], [2, 0]]: M0,0L1,1L2,0L2,-1L1,-1L0,-1Z |
---|
20 | |
---|
21 | x(d.x).y1(d.y): |
---|
22 | [{x:0,y:0}]: M0,0L0,0Z |
---|
23 | [{x:0,y:0},{x:1,y:1}]: M0,0L1,1L1,0L0,0Z |
---|
24 | [{x:0,y:0},{x:1,y:1},{x:2,y:0}]: M0,0L1,1L2,0L2,0L1,0L0,0Z |
---|
25 | |
---|
26 | x(d.x).y0(-d.y).y1(d.y): |
---|
27 | [{x:0,y:0}]: M0,0L0,0Z |
---|
28 | [{x:0,y:0},{x:1,y:1}]: M0,0L1,1L1,-1L0,0Z |
---|
29 | [{x:0,y:0},{x:1,y:1},{x:2,y:0}]: M0,0L1,1L2,0L2,0L1,-1L0,0Z |
---|
30 | |
---|
31 | interpolate(step-before): |
---|
32 | [[0, 0]]: M0,0L0,0Z |
---|
33 | [[0, 0], [1, 1]]: M0,0V1H1L1,0V0H0Z |
---|
34 | [[0, 0], [1, 1], [2, 0]]: M0,0V1H1V0H2L2,0V0H1V0H0Z |
---|
35 | |
---|
36 | interpolate(step-after): |
---|
37 | [[0, 0]]: M0,0L0,0Z |
---|
38 | [[0, 0], [1, 1]]: M0,0H1V1L1,0H0V0Z |
---|
39 | [[0, 0], [1, 1], [2, 0]]: M0,0H1V1H2V0L2,0H1V0H0V0Z |
---|
40 | |
---|
41 | interpolate(basis): |
---|
42 | [[0, 0]]: M0,0L0,0Z |
---|
43 | [[0, 0], [1, 1]]: M0,0L1,1L1,0L0,0Z |
---|
44 | [[0, 0], [6, 6], [12, 0]]: M0,0C0,0,0,0,1,1C2,2,4,4,6,4C8,4,10,2,11,1C12,0,12,0,12,0L12,0C12,0,12,0,11,0C10,0,8,0,6,0C4,0,2,0,1,0C0,0,0,0,0,0Z |
---|
45 | |
---|
46 | interpolate(basis-closed): |
---|
47 | [[0, 0]]: M0,0C0,0,0,0,0,0L0,0C0,0,0,0,0,0Z |
---|
48 | [[0, 0], [6, 6]]: M2,2C2,2,4,4,4,4C4,4,2,2,2,2L4,0C4,0,2,0,2,0C2,0,4,0,4,0Z |
---|
49 | [[0, 0], [6, 6], [12, 0]]: M9,1C8,0,4,0,3,1C2,2,4,4,6,4C8,4,10,2,9,1L3,0C4,0,8,0,9,0C10,0,8,0,6,0C4,0,2,0,3,0Z |
---|
50 | |
---|
51 | interpolate(cardinal): |
---|
52 | [[0, 0]]: M0,0L0,0Z |
---|
53 | [[0, 0], [5, 5]]: M0,0L5,5L5,0L0,0Z |
---|
54 | [[0, 0], [5, 5], [10, 0]]: M0,0Q4,5,5,5Q6,5,10,0L10,0Q6,0,5,0Q4,0,0,0Z |
---|
55 | |
---|
56 | interpolate(cardinal-closed): |
---|
57 | [[0, 0]]: M0,0L0,0Z |
---|
58 | [[0, 0], [5, 5]]: M0,0L5,5L5,0L0,0Z |
---|
59 | [[0, 0], [5, 5], [10, 0]]: M0,0C-0.7500000000000001,0.7500000000000001,3.5,5,5,5S10.75,0.7500000000000001,10,0S0.7500000000000001,-0.7500000000000001,0,0L10,0C10.75,0,6.5,0,5,0S-0.7500000000000001,0,0,0S9.25,0,10,0Z |
---|
60 | |
---|
61 | interpolate(monotone): |
---|
62 | [[0, 0]]: M0,0L0,0Z |
---|
63 | [[0, 0], [5, 5]]: M0,0L5,5L5,0L0,0Z |
---|
64 | [[0, 0], [5, 5], [10, 0]]: M0,0C0.4166666666666667,0.4166666666666667,3.333333333333333,5,5,5S9.583333333333334,0.4166666666666667,10,0L10,0C9.166666666666666,0,6.666666666666667,0,5,0S0.8333333333333334,0,0,0Z |
---|
65 | |
---|