Skip to content

Instantly share code, notes, and snippets.

@billimarie
billimarie / tetronimoes.html
Last active July 14, 2016 06:45
tetris inspired css3 animation. view on codepen: https://codepen.io/billimarie/pen/wWpvjV
<!DOCTYPE html>
<html>
<head>
<title>T E T R O N I M O E S</title>
<link href="https://fonts.googleapis.com/css?family=VT323" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<style>
body { background-color: #F9F9F9; }
.container {
margin:0 auto;
@billimarie
billimarie / index.html
Last active March 28, 2024 08:45
threejs canvasrenderer gradient background css
<script src="http://www.threejs.org/build/three.min.js"></script>
<script src="http://www.threejs.org/examples/js/renderers/Projector.js"></script>
<script src="http://www.threejs.org/examples/js/renderers/CanvasRenderer.js"></script>
<script>
var mouseX = 0, mouseY = 0,
windowHalfX = window.innerWidth / 2,
windowHalfY = window.innerHeight / 2,