alemart 1 год назад
Родитель
Сommit
07d0444f1e

+ 76
- 0
demos/assets/poster.svg Просмотреть файл

@@ -0,0 +1,76 @@
1
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+<svg
3
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
4
+   xmlns:cc="http://creativecommons.org/ns#"
5
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
+   xmlns:svg="http://www.w3.org/2000/svg"
7
+   xmlns="http://www.w3.org/2000/svg"
8
+   id="svg1666"
9
+   version="1.1"
10
+   viewBox="0 0 82.232324 20.700967"
11
+   height="78.24086"
12
+   width="310.80325">
13
+  <metadata
14
+     id="metadata1672">
15
+    <rdf:RDF>
16
+      <cc:Work
17
+         rdf:about="">
18
+        <dc:format>image/svg+xml</dc:format>
19
+        <dc:type
20
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
21
+        <dc:title></dc:title>
22
+      </cc:Work>
23
+    </rdf:RDF>
24
+  </metadata>
25
+  <defs
26
+     id="defs1670" />
27
+  <g
28
+     id="text1664"
29
+     style="font-weight:400;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0;word-spacing:0;stroke:#000000;stroke-width:0.39686999;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078"
30
+     aria-label="encantar.js">
31
+    <path
32
+       id="path2275"
33
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.16666603px;font-family:Duality;-inkscape-font-specification:Duality;fill:#f261da;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078"
34
+       d="m 8.4878157,8.8476497 q 0,0.9525 -0.1905,1.3123333 H 3.8734825 q -0.0635,0.994833 -0.0635,1.354667 0,3.323166 1.5028333,3.323166 1.143,0 2.0108333,-1.905 h 0.7831666 q -0.6349999,2.942167 -3.1538332,2.942167 -3.3654999,0 -3.3654999,-5.820833 0,-1.8838336 0.8466666,-3.1961669 1.016,-1.5028333 2.8151666,-1.5028333 1.5451666,0 2.3918333,0.9736667 0.8466666,0.9524999 0.8466666,2.5188332 z M 6.5828158,8.4243164 q 0,-2.2648333 -1.27,-2.2648333 -0.5503333,0 -0.9948333,0.8678333 -0.381,0.7408333 -0.381,1.3546667 v 0.5291666 h 2.6246666 q 0.021167,-0.254 0.021167,-0.4868333 z" />
35
+    <path
36
+       id="path2277"
37
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.16666603px;font-family:Duality;-inkscape-font-specification:Duality;fill:#f261da;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078"
38
+       d="m 18.563129,13.99115 q 0,0.719666 -0.508,1.2065 -0.508,0.465666 -1.227667,0.465666 -2.053166,0 -2.053166,-1.905 V 9.715483 q 0,-0.9524999 -0.359834,-1.8203333 -0.465666,-1.1006666 -1.27,-1.1006666 -0.296333,0 -0.550333,0.2751667 -0.254,0.254 -0.254,0.5715 -0.127,5.3975002 -0.127,5.5245002 0,1.629833 1.3335,1.481666 V 15.64215 H 8.6782958 v -1.0795 q 0.1481666,-0.08467 0.5291666,-0.08467 0.4021667,-0.02117 0.5503333,-0.169333 0.2540003,-0.1905 0.2540003,-0.804334 0,-0.275166 -0.0635,-0.804333 -0.042333,-0.550333 -0.042333,-0.8255 0,-0.973667 0.1693336,-2.7305 0.127,-1.3334999 0.127,-1.3334999 0,-0.508 -0.3598336,-0.7831667 -0.3598333,-0.2751666 -0.8678333,-0.254 l 0.021167,-0.1058333 q 0,-0.4233333 -0.1269999,-0.6773333 1.2065002,-0.3175 3.6618332,-0.9313333 -0.0635,0.7196666 -0.0635,0.8255 0,0.2328333 0.04233,0.4021666 0.740834,-0.9313333 1.502834,-0.9313333 0.910166,0 1.947333,1.3123333 0.973667,1.2488333 0.973667,2.2013333 v 4.3179996 q 0,1.037167 0.359833,1.354667 0.402166,-0.232833 0.402166,-0.677333 0,-0.08467 -0.02117,-0.275167 -0.02117,-0.1905 -0.02117,-0.296333 0,-0.08467 0,-0.169334 h 0.910167 z" />
39
+    <path
40
+       id="path2279"
41
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.16666603px;font-family:Duality;-inkscape-font-specification:Duality;fill:#f261da;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078"
42
+       d="m 25.780959,7.7046498 q 0,0.6138333 -0.381,1.0794999 -0.359833,0.4445 -0.9525,0.4445 -0.508,0 -0.867833,-0.381 -0.359833,-0.381 -0.359833,-0.889 0,-0.3809999 0.3175,-0.6773333 0.3175,-0.2963333 0.6985,-0.2963333 0.127,0 0.254,0.1058333 0.127,0.084667 0.232833,0.084667 v -0.042333 q 0.02117,-0.8678333 -1.4605,-0.8678333 -1.312333,0 -1.799167,1.3546666 -0.296333,0.8255 -0.296333,2.4553329 0,2.010834 0.148167,2.942167 0.338666,2.032 1.397,2.032 0.656166,0 1.2065,-0.508 0.08467,-0.08467 0.867833,-1.016 0.4445,0.211667 0.783166,0.550333 -0.910166,1.0795 -1.206499,1.3335 -0.762,0.656167 -1.608667,0.656167 -2.074333,0 -3.026833,-2.0955 -0.6985,-1.545167 -0.6985,-3.915833 0,-1.6721669 0.867833,-3.1115002 1.016,-1.6933333 2.561167,-1.6933333 1.248833,0 2.201333,0.5926666 1.121833,0.6985 1.121833,1.8626667 z" />
43
+    <path
44
+       id="path2281"
45
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.16666603px;font-family:Duality;-inkscape-font-specification:Duality;fill:#f261da;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078"
46
+       d="m 33.972454,15.32465 q 0,0.3175 -0.0635,0.529166 -0.127,0 -0.402167,0.0635 -0.254,0.0635 -0.402166,0.0635 -0.529167,0 -1.016,-0.359833 -0.486834,-0.359833 -0.677334,-0.867833 -1.0795,1.121833 -2.497666,1.121833 -1.291167,0 -2.074333,-0.719667 -0.783167,-0.719666 -0.783167,-1.989666 0,-1.5875 0.973667,-2.54 0.994833,-0.9525003 2.624666,-0.9525003 0.359833,0 0.762,0.042333 0.08467,-0.4445 0.08467,-0.9524999 0,-2.5823333 -1.778,-2.5823333 -0.740834,0 -1.121834,0.8466666 0.381,-0.1481666 0.677334,-0.1481666 0.846666,0 0.846666,1.3334999 0,0.381 -0.486833,0.762 -0.465667,0.3598333 -0.846667,0.3598333 -1.312333,0 -1.312333,-1.7779999 0,-1.2911666 1.291167,-1.8626666 0.9525,-0.4445 2.434166,-0.4445 1.5875,0 2.137834,1.7568333 0.3175,1.0159999 0.3175,3.0903332 0,0.423333 -0.02117,1.291167 -0.02117,0.867833 -0.02117,1.312333 0,2.243667 0.719667,2.243667 0.232833,0 0.550333,-0.1905 0.08467,0.275166 0.08467,0.5715 z m -3.513667,-1.8415 q -0.0635,-1.121834 -0.0635,-0.9525 0,-0.635 0.04233,-1.651 -0.359834,-0.105834 -0.846667,-0.105834 -0.6985,0 -1.0795,0.656167 -0.338667,0.529167 -0.338667,1.291167 0,0.8255 0.402167,1.439333 0.465667,0.677333 1.27,0.677333 0.4445,0 0.486833,-0.508 0.08467,-0.783166 0.127,-0.846666 z" />
47
+    <path
48
+       id="path2283"
49
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.16666603px;font-family:Duality;-inkscape-font-specification:Duality;fill:#f261da;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078"
50
+       d="m 43.793784,13.99115 q 0,0.719666 -0.508,1.2065 -0.508,0.465666 -1.227667,0.465666 -2.053166,0 -2.053166,-1.905 V 9.715483 q 0,-0.9524999 -0.359834,-1.8203333 -0.465666,-1.1006666 -1.27,-1.1006666 -0.296333,0 -0.550333,0.2751667 -0.254,0.254 -0.254,0.5715 -0.127,5.3975002 -0.127,5.5245002 0,1.629833 1.3335,1.481666 v 0.994834 h -4.868333 v -1.0795 q 0.148167,-0.08467 0.529167,-0.08467 0.402166,-0.02117 0.550333,-0.169333 0.254,-0.1905 0.254,-0.804334 0,-0.275166 -0.0635,-0.804333 -0.04233,-0.550333 -0.04233,-0.8255 0,-0.973667 0.169333,-2.7305 0.127,-1.3334999 0.127,-1.3334999 0,-0.508 -0.359833,-0.7831667 -0.359834,-0.2751666 -0.867834,-0.254 l 0.02117,-0.1058333 q 0,-0.4233333 -0.127,-0.6773333 1.2065,-0.3175 3.661833,-0.9313333 -0.0635,0.7196666 -0.0635,0.8255 0,0.2328333 0.04233,0.4021666 0.740833,-0.9313333 1.502833,-0.9313333 0.910166,0 1.947333,1.3123333 0.973667,1.2488333 0.973667,2.2013333 v 4.3179996 q 0,1.037167 0.359833,1.354667 0.402167,-0.232833 0.402167,-0.677333 0,-0.08467 -0.02117,-0.275167 -0.02117,-0.1905 -0.02117,-0.296333 0,-0.08467 0,-0.169334 h 0.910167 z" />
51
+    <path
52
+       id="path2285"
53
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.16666603px;font-family:Duality;-inkscape-font-specification:Duality;fill:#f261da;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078"
54
+       d="m 48.894946,14.393316 q 0,0.529167 -0.508,0.9525 -0.508,0.423334 -1.058333,0.423334 -1.629833,0 -2.010833,-1.100667 -0.169334,-0.465667 -0.169334,-2.455333 0,-1.375834 -0.0635,-3.5348336 -0.04233,-1.7356666 -0.04233,-1.7145 -0.296333,-0.1693333 -0.677333,-0.1693333 -0.08467,0 -0.275167,0.042333 -0.169333,0.021167 -0.275167,0.021167 0.105834,-0.4233333 0.105834,-0.9736666 1.418166,0.021167 2.201333,-1.0583333 0.6985,-0.9525 0.656167,-2.413 h 0.719666 v 3.1749999 q 0.402167,0.042333 1.2065,0.1905 V 6.8791498 H 47.265113 V 13.99115 q 0,0.105833 0.296333,0.359833 h 0.4445 v -1.227667 h 0.889 z" />
55
+    <path
56
+       id="path2287"
57
+       style="fill:#ffcc00;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078"
58
+       d="m 56.917072,15.32465 q 0,0.3175 -0.0635,0.529166 -0.127,0 -0.402166,0.0635 -0.254,0.0635 -0.402167,0.0635 -0.529167,0 -1.016,-0.359833 -0.486833,-0.359833 -0.677333,-0.867833 -1.0795,1.121833 -2.497667,1.121833 -1.291167,0 -2.074333,-0.719667 -0.783167,-0.719666 -0.783167,-1.989666 0,-1.5875 0.973667,-2.54 0.994833,-0.9525003 2.624666,-0.9525003 0.359834,0 0.762,0.042333 0.08467,-0.4445 0.08467,-0.9524999 0,-2.5823333 -1.778,-2.5823333 -0.740833,0 -1.121833,0.8466666 0.381,-0.1481666 0.677333,-0.1481666 0.846667,0 0.846667,1.3334999 0,0.381 -0.486834,0.762 -0.465666,0.3598333 -0.846666,0.3598333 -1.312334,0 -1.312334,-1.7779999 0,-1.2911666 1.291167,-1.8626666 0.9525,-0.4445 2.434167,-0.4445 1.5875,0 2.137833,1.7568333 0.3175,1.0159999 0.3175,3.0903332 0,0.423333 -0.02117,1.291167 -0.02117,0.867833 -0.02117,1.312333 0,2.243667 0.719666,2.243667 0.232834,0 0.550334,-0.1905 0.08467,0.275166 0.08467,0.5715 z m -3.513666,-1.8415 q -0.0635,-1.121834 -0.0635,-0.9525 0,-0.635 0.04233,-1.651 -0.359833,-0.105834 -0.846667,-0.105834 -0.6985,0 -1.0795,0.656167 -0.338666,0.529167 -0.338666,1.291167 0,0.8255 0.402166,1.439333 0.465667,0.677333 1.27,0.677333 0.4445,0 0.486834,-0.508 0.08467,-0.783166 0.127,-0.846666 z" />
59
+    <path
60
+       id="path2289"
61
+       style="fill:#ffcc00;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078"
62
+       d="m 64.346569,7.4929831 q 0,0.5715 -0.359833,1.2065 -0.423334,0.7408333 -0.931334,0.7408333 -0.677333,0 -1.2065,-0.4656667 -0.529166,-0.4656666 -0.529166,-1.143 0,-0.9524999 1.0795,-0.9524999 0.105833,0 0.254,0.0635 0.148166,0.0635 0.211666,0.0635 v -0.042333 q 0.02117,-0.5926666 -0.719666,-0.5926666 -1.756834,0 -1.756834,3.9793332 0,0.359833 0.04233,1.058333 0.04233,0.6985 0.04233,1.037167 0,0.127 0,0.359833 -0.02117,0.254 -0.02117,0.359834 0,1.629833 1.3335,1.481666 v 0.994834 h -4.868333 v -1.0795 q 0,0 0.6985,-0.148167 0.402167,-0.0635 0.592667,-0.359833 0.127,-0.211667 0.127,-0.381 l 0.105833,-5.8631669 q 0,-0.4868333 -0.359833,-0.762 -0.359834,-0.2963333 -0.867833,-0.2751667 l 0.02117,-0.1058333 q 0,-0.4233333 -0.127,-0.6773333 1.121833,-0.3175 3.344333,-0.9313333 0,0.021167 -0.0635,0.8466666 -0.04233,0.5715 -0.04233,1.1853333 0.1905,-0.2751666 0.5715,-0.8254999 0.402167,-0.5503334 0.592667,-0.7196667 0.359833,-0.2963333 0.8255,-0.2963333 0.973666,0 1.481666,0.635 0.529167,0.635 0.529167,1.6086666 z" />
63
+    <path
64
+       id="path2291"
65
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.16666603px;font-family:Duality;-inkscape-font-specification:Duality;fill:#f261da;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078"
66
+       d="m 67.563878,15.112983 q 0,0.592667 -0.486833,1.058333 -0.486834,0.465667 -1.100667,0.465667 -0.613833,0 -1.058333,-0.550334 -0.423334,-0.529166 -0.423334,-1.185333 0,-0.550333 0.508,-0.9525 0.4445,-0.359833 1.037167,-0.359833 0.656167,0 1.0795,0.4445 0.4445,0.423333 0.4445,1.0795 z" />
67
+    <path
68
+       id="path2293"
69
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.16666603px;font-family:Duality;-inkscape-font-specification:Duality;fill:#f261da;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078"
70
+       d="m 73.088345,3.1114832 q 0,0.5926667 -0.486833,1.0583333 -0.486834,0.4656667 -1.0795,0.4656667 -0.635,0 -1.0795,-0.5715 -0.402167,-0.508 -0.402167,-1.1641666 0,-0.5715 0.465667,-0.9313333 0.486833,-0.381 1.058333,-0.381 0.656167,0 1.0795,0.4445 0.4445,0.4233333 0.4445,1.0794999 z M 72.982512,16.213649 q 0,1.0795 -1.016,1.989667 -0.994834,0.910167 -2.074334,0.910167 -1.058333,0 -1.883833,-0.5715 -0.931333,-0.613834 -0.931333,-1.629834 0,-0.635 0.275166,-1.100666 0.3175,-0.5715 0.910167,-0.5715 0.508,0 0.9525,0.275167 0.529167,0.3175 0.529167,0.783166 0,0.846667 -0.423334,1.100667 -0.254,0.169333 -1.227666,0.254 0.169333,0.148166 0.529166,0.338666 0.381,0.211667 0.550334,0.211667 0.635,0 1.0795,-0.762 0.402166,-0.656167 0.402166,-1.354667 V 7.3448164 q 0,-0.3598333 -0.423333,-0.5926666 -0.423333,-0.254 -0.783167,-0.2116667 V 6.4346498 q 0.02117,-0.4233333 -0.105833,-0.6561667 1.2065,-0.3386666 3.640667,-0.9313333 z" />
71
+    <path
72
+       id="path2295"
73
+       style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.16666603px;font-family:Duality;-inkscape-font-specification:Duality;fill:#f261da;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50196078"
74
+       d="m 80.644842,13.017483 q 0,0.994833 -0.867833,2.053167 -0.846667,1.037166 -1.8415,1.037166 -1.566333,0 -2.6035,-0.465666 -1.418167,-0.635 -1.418167,-2.010834 0,-0.635 0.381,-1.100666 0.381,-0.486834 0.994834,-0.486834 0.529166,0 0.889,0.402167 0.381,0.381 0.381,0.931333 0,0.381 -0.338667,0.6985 -0.3175,0.296334 -0.719667,0.296334 -0.148166,0 -0.275166,-0.08467 -0.105834,-0.08467 -0.148167,-0.105833 0.169333,0.931333 1.989667,0.931333 0.656166,0 1.2065,-0.423333 0.550333,-0.423334 0.550333,-1.058334 0,-0.762 -1.121833,-1.524 -1.905,-1.3335 -2.053167,-1.481666 -1.121833,-1.037167 -1.121833,-2.4553336 0,-0.4021667 0.232833,-0.9736666 0.804333,-1.9896666 2.413,-1.9896666 1.27,0 2.2225,0.6138333 1.143,0.6985 1.143,1.8838333 0,0.6349999 -0.381,1.1006666 -0.381,0.4656666 -0.994833,0.4656666 -0.529167,0 -0.910167,-0.381 -0.359833,-0.4021666 -0.359833,-0.9313333 0,-0.4021666 0.3175,-0.6984999 0.338666,-0.3175 0.740833,-0.3175 0.148167,0 0.275167,0.1058333 0.148166,0.084667 0.1905,0.084667 0.02117,-0.084667 0.02117,-0.1481667 0,-0.4021666 -0.804333,-0.6138333 -0.5715,-0.1481667 -1.143,-0.1481667 -0.465667,0 -0.9525,0.4021667 -0.486833,0.381 -0.486833,0.8255 0,0.9313333 0.719666,1.6509999 0.465667,0.4656667 1.629834,1.1430003 1.164166,0.656166 1.545166,1.016 0.169334,0.148166 0.423334,0.846666 0.275166,0.677334 0.275166,0.910167 z" />
75
+  </g>
76
+</svg>

+ 6
- 0
demos/hello-aframe/demo.css Просмотреть файл

@@ -1,5 +1,11 @@
1 1
 body {
2 2
     background-color: black;
3
+    background-image: url("../assets/poster.svg"), linear-gradient(black, 20%, #46346a);
4
+    background-position: center;
5
+    background-repeat: no-repeat;
6
+    height: 100vh;
7
+    margin: 0;
8
+    padding: 0;
3 9
 }
4 10
 
5 11
 #scan {

+ 6
- 0
demos/hello-three/demo.css Просмотреть файл

@@ -1,5 +1,11 @@
1 1
 body {
2 2
     background-color: black;
3
+    background-image: url("../assets/poster.svg"), linear-gradient(black, 20%, #46346a);
4
+    background-position: center;
5
+    background-repeat: no-repeat;
6
+    height: 100vh;
7
+    margin: 0;
8
+    padding: 0;
3 9
 }
4 10
 
5 11
 #scan {

+ 6
- 0
demos/hello-webgl/demo.css Просмотреть файл

@@ -1,5 +1,11 @@
1 1
 body {
2 2
     background-color: black;
3
+    background-image: url("../assets/poster.svg"), linear-gradient(black, 20%, #46346a);
4
+    background-position: center;
5
+    background-repeat: no-repeat;
6
+    height: 100vh;
7
+    margin: 0;
8
+    padding: 0;
3 9
 }
4 10
 
5 11
 #scan {

+ 6
- 0
demos/hello-world/demo.css Просмотреть файл

@@ -1,5 +1,11 @@
1 1
 body {
2 2
     background-color: black;
3
+    background-image: url("../assets/poster.svg"), linear-gradient(black, 20%, #46346a);
4
+    background-position: center;
5
+    background-repeat: no-repeat;
6
+    height: 100vh;
7
+    margin: 0;
8
+    padding: 0;
3 9
 }
4 10
 
5 11
 #scan {

+ 6
- 0
demos/touch-three/demo.css Просмотреть файл

@@ -1,5 +1,11 @@
1 1
 body {
2 2
     background-color: black;
3
+    background-image: url("../assets/poster.svg"), linear-gradient(black, 20%, #46346a);
4
+    background-position: center;
5
+    background-repeat: no-repeat;
6
+    height: 100vh;
7
+    margin: 0;
8
+    padding: 0;
3 9
 }
4 10
 
5 11
 #scan {

Загрузка…
Отмена
Сохранить