A Pen by Patrick Stillhart on CodePen.
A Pen by Matei Copot on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="container"> | |
<div id="message"> | |
<a id="animate" href="#">Transmit</a> | |
</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<svg class="mainSVG" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 800 700" > | |
<defs> | |
<circle id="circ" class="particle" cx="0" cy="0" r="1"/> | |
<polygon id="star" class="particle" points="4.55,0 5.95,2.85 9.1,3.3 6.82,5.52 7.36,8.65 4.55,7.17 1.74,8.65 2.27,5.52 0,3.3 3.14,2.85 "/> | |
<polygon id="cross" class="particle" points="4,3.5 2.5,2 4,0.5 3.5,0 2,1.5 0.5,0 0,0.5 1.5,2 0,3.5 0.5,4 2,2.5 3.5,4 "/> | |
<path id="heart" class="particle" d="M2.9,0C2.53,0,2.2,0.18,2,0.47C1.8,0.18,1.47,0,1.1,0C0.49,0,0,0.49,0,1.1 | |
C0,2.6,1.56,4,2,4s2-1.4,2-2.9C4,0.49,3.51,0,2.9,0z"/> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.centered | |
h4 Will you be My Valentine? | |
input.no( | |
type='checkbox' | |
name='answer' | |
id='No' | |
) | |
label.no(for='No') Nope | |
input.yes( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvas"></canvas> | |
<p> | |
Use the left, right and up arrow keys to move. | |
</p> | |
<p class="info"> | |
The map data is fully customisable and scriptable (all contained within the "map" variable). See the comments in the code for instructions. | |
</p> | |
<br> | |
<a target="_blank" href="https://github.com/dissimulate/Clarity">View on GitHub</a> |
A Pen by Elliot Geno on CodePen.
A Pen by Elliot Geno on CodePen.