Project Docs Github
Log in
ittf site docs t logo index.html.ittf Edit
  • /ittf/site/docs/t/logo/index.html.ittf
  • /ittf/site/docs/t/logo/t/w.html.ittf
  • /ittf/site/docs/t/logo/t/i.html.ittf
  • /ittf/site/docs/t/logo/t/zeta.html.ittf

/ittf/site/docs/t/logo/index.html.ittf (primary)

edit
                                            
1 $group
2 $params svg_width:float, l:float|0, t:float|0, color|#01579b
3 $
4 var ratio = svg_width / 660;
5 var l = l * 1.0;
6 var t = t * 1.0;
7 var x1 = 0;
8 var x2 = 270;
9 var x3 = 360;
10 var x4 = 510;
11 var x5 = 670;
12 var opt = {};
13 opt.y0 = 10 * ratio;
14 opt.y1 = 10 * ratio;
15 opt.y1a = 90 * ratio;
16 opt.y2 = 210 * ratio;
17 opt.ybottom = 250 * ratio;
18 opt.stroke = color;
19 opt.fill = color;
20 opt.ratio = ratio;
21 $if l > 0
22 w( ${l + x1 * ratio}, ${t}, ${ratio}, &opt )
23 i( ${l + x2 * ratio}, ${t}, ${ratio}, &opt )
24 zeta( ${l + x3 * ratio}, ${t}, ${ratio}, &opt )
25 zeta( ${l + x4 * ratio}, ${t}, ${ratio}, &opt )
26 i( ${l + x5 * ratio}, ${t}, ${ratio}, &opt )
27 $else
28 svg
29 width ${700 * ratio}
30 height ${260 * ratio}
31 rect
32 x 0
33 y 0
34 width 700
35 height 280
36 fill none
37 stroke none
38 w( ${l + x1 * ratio}, ${t}, ${ratio}, &opt )
39 i( ${l + x2 * ratio}, ${t}, ${ratio}, &opt )
40 zeta( ${l + x3 * ratio}, ${t}, ${ratio}, &opt )
41 zeta( ${l + x4 * ratio}, ${t}, ${ratio}, &opt )
42 i( ${l + x5 * ratio}, ${t}, ${ratio}, &opt )

/ittf/site/docs/t/logo/t/w.html.ittf

edit
                                            
1 $group
2 $params l:float, t:float, ratio:float, &opt
3 polyline
4 stroke ${opt.stroke}
5 fill ${opt.fill}
6 stroke-width 2
7 points ${l + 10 * ratio} ${t + opt.ybottom}
8 \b ${l + 45 * ratio} ${t + opt.y0}
9 \b ${l + 60 * ratio} ${t + opt.y0}
10 \b ${l + 75 * ratio} ${t + opt.y1a + (40*ratio)}
11 \b ${l + 120 * ratio} ${t + opt.y2}
12 \b ${l + 120 * ratio} ${t + opt.y1a + (40*ratio)}
13 \b ${l + 175 * ratio} ${t + opt.y2}
14 \b ${l + 175 * ratio} ${t + opt.y1a + (20*ratio)}
15 \b ${l + 230 * ratio} ${t + opt.y2}
16 \b ${l + 230 * ratio} ${t + opt.ybottom}

/ittf/site/docs/t/logo/t/i.html.ittf

edit
                                            
1 $group
2 $params l:float, t:float, ratio:float, &opt
3 polyline
4 stroke ${opt.stroke}
5 fill ${opt.fill}
6 stroke-width 2
7 points ${l} ${t+opt.ybottom}
8 \b ${l+10*opt.ratio} ${t+opt.y1+80*opt.ratio}
9 \b ${l+40*opt.ratio} ${t+opt.y1+80*opt.ratio}
10 \b ${l+50*opt.ratio} ${t+opt.ybottom}
11 path
12 stroke white
13 fill ${opt.fill}
14 stroke-width 2
15 d M${l+30*ratio}, ${t+opt.y1+20*ratio}
16 \b C${l+60*ratio},${t+opt.y1+40*ratio}
17 \b ${l+0*ratio},${t+opt.y1+60*ratio}
18 \b ${l+30*ratio}, ${t+opt.y1+74*ratio}

/ittf/site/docs/t/logo/t/zeta.html.ittf

edit
                                            
1 $group
2 $params l:float, t:float, ratio:float, &opt
3 polyline
4 stroke ${opt.stroke}
5 fill ${opt.fill}
6 stroke-width 2
7 points ${l} ${t+opt.ybottom}
8 \b ${l} ${t+opt.ybottom - 20*opt.ratio}
9 \b ${l+100*opt.ratio} ${t+opt.y1a+40*opt.ratio}
10 \b ${l+80*opt.ratio} ${t+opt.y1a+20*opt.ratio}
11 \b ${l+80*opt.ratio} ${t+opt.y1a}
12 \b ${l+130*opt.ratio} ${t+opt.y1a}
13 \b ${l+70*opt.ratio} ${t+opt.ybottom - 20*opt.ratio}
14 \b ${l+120*opt.ratio} ${t+opt.ybottom - 20*opt.ratio}
15 \b ${l+120*opt.ratio} ${t+opt.ybottom}
Save
Save & Refresh
Cancel