Skip to content

Commit 247cfea

Browse files
authored
Refactor Demo (#85)
* Move examples to tools/demo and use Rollup to build * Fixes tabbing * Fixes linting issues, adds build:dev to demo * Scale background proportionally * Fixes deploy paths * Optimizes images with ImageOptim (31% savings)
1 parent 166bae0 commit 247cfea

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+733
-524
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
node_modules
44
lib
55
*.log
6-
docs
6+
docs
7+
dist
8+
tools/demo/index.js
9+
tools/demo/index.js.map

examples/images/displacement_BG.jpg

-60.4 KB
Binary file not shown.
-11.5 KB
Binary file not shown.
-7.33 KB
Binary file not shown.
-4.31 KB
Binary file not shown.
-3.77 KB
Binary file not shown.

examples/images/displacement_map.png

-84.9 KB
Binary file not shown.

examples/images/lightmap.png

-107 KB
Binary file not shown.

examples/images/overlay.png

-26 KB
Binary file not shown.

examples/index.html

Lines changed: 2 additions & 513 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)