Skip to content

Instantly share code, notes, and snippets.

Om Shankar OmShiv

Block or report user

Report or block OmShiv

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View nodes-html5.js
window.onload = function run() {
var width = window.innerWidth;
var height = window.innerHeight;
var elm = document.createElement('canvas');
var pixelDensity = window.devicePixelRatio || 1;
var orbs = [];
var orbCount = window.innerHeight / 10;
elm.setAttribute('width', width * pixelDensity);
elm.setAttribute('height', height * pixelDensity);
@OmShiv
OmShiv / snow.html
Created Dec 24, 2012
Snow animation
View snow.html
<canvas id="canvas"></canvas>
@OmShiv
OmShiv / stereoscopic-3D-image.html
Last active Dec 10, 2015
Stereoscopic 3D image
View stereoscopic-3D-image.html
<h1>Simple 3D effect</h1>
<div class="flip"></div>
@OmShiv
OmShiv / placement.css
Created May 13, 2012
Inline-block and placement
View placement.css
body {
font-family: sans-serif;
}
ul {
list-style: none;
}
li {
background: slategrey;
You can’t perform that action at this time.