Skip to content

Instantly share code, notes, and snippets.

@artemuzz
artemuzz / css-transform-animation-stress-test.markdown
Created June 9, 2019 01:31
CSS transform animation stress test
@artemuzz
artemuzz / anime-js-seamless-infinite-looping-animation.markdown
Created June 9, 2019 01:49
anime.js seamless infinite looping animation

anime.js seamless infinite looping animation

Animating 4 transforms properties on +200 dom elements with individual timing values.

A Pen by Julian Garnier on CodePen.

License.

iCraft

An attempt to create a dumbed-down clone of Minecraft programmed to the standards of the very first version (known as “Cave Game”). Build in a small world of classic Apple! Blocks you place are random iMac models, but silicon will always mark the main ground layer.

🕹 Controls

Action Input
Forward W
Left A
@artemuzz
artemuzz / blocky-digital-clock.markdown
Created August 20, 2019 02:49
Blocky Digital Clock
@artemuzz
artemuzz / index.html
Created August 20, 2019 02:53
Skeuomorphic Lever Checkbox
<form>
<input type="checkbox" name="lever" class="lever pristine" id="lever" value="lever value" role="switch" aria-label="lever" aria-checked="false">
<label for="lever"><span>On</span></label>
<label for="lever"><span>Off</span></label>
</form>
@artemuzz
artemuzz / 5-lines-svg-stroke-animation.markdown
Created September 11, 2019 23:42
5 Lines: SVG Stroke Animation
@artemuzz
artemuzz / index.pug
Created September 30, 2019 01:02
Spiral Staircase: A "Keep Watching" Fork | 5 Lines #CodepenChallenge
- let [i, lines] = [0, 90];
.container(style=`--n_start: ${lines}`)
while (i < lines)
.line(style=`--n: ${i}`): - i++
@artemuzz
artemuzz / anime-js-ease-visualizer.markdown
Created September 30, 2019 01:24
Anime.js Ease Visualizer
<script src="https://threejs.org/build/three.js"></script>
@artemuzz
artemuzz / Quick loader_index.pug
Last active October 13, 2019 14:35
Quick loader with CSS transforms, vars & Houdini magic
- var n = 128, ha = Math.PI/n;
style
| :root {
| --n: #{n};
| --f: #{Math.tan(ha)}
| }
while n--
.spike(style=`--i: ${n}`)