diff --git a/demo/client/css/pathfinder.css b/demo/client/css/pathfinder.css new file mode 100644 index 00000000..5d61d489 --- /dev/null +++ b/demo/client/css/pathfinder.css @@ -0,0 +1,26 @@ +body { + background: lightslategray; +} +.pf-bottom-control { + position: fixed; + bottom: 1em; +} +#pf-load-font-button-label, +#pf-load-svg-button-label { + left: 1em; + margin: 0; +} +#pf-rendering-options-group { + right: 1em; +} +#pf-canvas { + display: block; + touch-action: none; +} +#pf-fps-label { + position: absolute; + right: 1em; + margin-top: 1em; + color: white; + background: rgba(0, 0, 0, 0.75); +} diff --git a/demo/client/html/svg.html b/demo/client/html/svg.html new file mode 100644 index 00000000..cc2e3b26 --- /dev/null +++ b/demo/client/html/svg.html @@ -0,0 +1,45 @@ + + + + SVG — Pathfinder Demo + + + + + + + + + + +
0 ms
+ + +
+ +
+ + diff --git a/demo/client/index.html b/demo/client/html/text.html similarity index 61% rename from demo/client/index.html rename to demo/client/html/text.html index 3041fbff..dfa45f56 100644 --- a/demo/client/index.html +++ b/demo/client/html/text.html @@ -1,48 +1,28 @@ - Pathfinder Demo + Text — Pathfinder Demo + -