Skip to content

Instantly share code, notes, and snippets.

@davehenzy
davehenzy / index.html
Created May 18, 2023 10:49
LOVE Text Effect
<div id="container">
<div id="message">
<a id="animate" href="#">Transmit</a>
</div>
</div>
@davehenzy
davehenzy / index.html
Created December 23, 2022 20:37
LYBVQxL
<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"/>
@davehenzy
davehenzy / index.pug
Created February 9, 2022 08:27
My Valentine
.centered
h4 Will you be My Valentine?
input.no(
type='checkbox'
name='answer'
id='No'
)
label.no(for='No') Nope
input.yes(
@davehenzy
davehenzy / index.html
Created December 12, 2021 09:59
Platform game engine
<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>
@davehenzy
davehenzy / bullseye-game.markdown
Created December 12, 2021 09:04
Bullseye Game
@davehenzy
davehenzy / bullseye-game.markdown
Created December 12, 2021 09:04
Bullseye Game