Skip to content

Commit

Permalink
updating demo with some emoji text and whatnot
Browse files Browse the repository at this point in the history
  • Loading branch information
catdad committed Oct 5, 2023
1 parent 349607a commit 46934b1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,9 @@ <h2><a href="#emoji" id="emoji" class="anchor">Emoji</a></h2>
</div>
<div class="description">
<p>
Emoji
Don't know any custom shapes? That's okay, just use emoji instead! That's what they
are for anyway. I mean... why do they even exist if we weren't supposed to make
confetti out of them? Think about it.
</p>
</div>
</div>
Expand Down Expand Up @@ -880,7 +882,7 @@ <h2><a href="#custom-canvas" id="custom-canvas" class="anchor">Custom Canvas</a>
});
},
emoji: function () {
var scalar = 1.5;
var scalar = 2;
var unicorn = confetti.shapeFromText({ text: '🦄', scalar });

var defaults = {
Expand Down

0 comments on commit 46934b1

Please sign in to comment.