Skip to content

Commit

Permalink
fixup basic-web-example
Browse files Browse the repository at this point in the history
  • Loading branch information
qrohlf committed May 9, 2020
1 parent 6d7645b commit 9faf26b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/basic-web-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@
<script src="../dist/trianglify.bundle.debug.js"></script>
<script>
const pattern = trianglify({
xColors: 'RdBu',
cellSize: 50,
width: window.innerWidth * .8,
width: window.innerWidth * 0.8,
height: (window.innerHeight - 4 * 30) / 4
})

Expand All @@ -41,7 +40,7 @@
// stroke-only
const strokeOnly = trianglify({
cellSize: 75,
width: window.innerWidth * .8,
width: window.innerWidth * 0.8,
height: (window.innerHeight - 4 * 30) / 4,
fill: false,
strokeWidth: 1
Expand Down

0 comments on commit 9faf26b

Please sign in to comment.