Skip to content

Instantly share code, notes, and snippets.

@jessiemestabrook
jessiemestabrook / index.html
Created May 15, 2019 01:16
SVG sphere animation with anime.js
<div class="animation-wrapper">
<div class="sphere-animation">
<svg class="sphere" viewBox="0 0 440 440" stroke="rgba(80,80,80,.35)">
<defs>
<linearGradient id="sphereGradient" x1="5%" x2="5%" y1="0%" y2="15%">
<stop stop-color="#373734" offset="0%"/>
<stop stop-color="#242423" offset="50%"/>
<stop stop-color="#0D0D0C" offset="100%"/>
</linearGradient>
</defs>
@jessiemestabrook
jessiemestabrook / gist:6002721
Created July 15, 2013 19:34
Generate random hex number.
var numberOfDigits = 6,
code = "";
for (; code.length < numberOfDigits; code += Math.floor(Math.random()*16).toString(16)) {}
@jessiemestabrook
jessiemestabrook / gist:5986406
Created July 12, 2013 17:56
Peeping Tomboy by Kurt Vile
(Be sure to tune properly: 1st and 5th strings come down a whole step to D and G respectively.)
D--5p4-------4---------------------|------------------------0--------|
B--3-----3h5-----3---------3-------|--2---------------0--------------|
G--------------------------4-------|--2-----2---------0--------------|
D------0-------0-------0-------0---|------2-------2-------0-------0--|
G--0-------0-------0-------0-------|--2-------2-------0-------0------|
E----------------------------------|---------------------------------|