This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p class="instructions"> | |
<em>Click and drag</em> to add nodes. <em>Space</em> to reset. <em>Style</em>: | |
<select class="styles"> | |
<option value="diagonal">Diagonal</option> | |
<option value="circle">Circle</option> | |
<option value="grid">Grid</option> | |
<option value="cross">Cross</option> | |
<option value="none">None</option> | |
</select> | |
</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="container"> | |
<canvas id="displayCanvas" width="900px" height="320px"> | |
Your browser does not support HTML5 canvas. | |
</canvas> | |
<p id="caption"> | |
HTML5 Canvas: Layered Fractal Gradient. (Click on the image to regenerate.) <a href="http://www.rectangleworld.com">rectangleworld.com</a> | |
</p> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<figure id="window"> | |
<img src="http://wikitravel.org/upload/shared//6/60/Pittsburgh_skyline_view.jpg" /> | |
<div id="filter"></div> | |
</figure> | |
<a href="https://twitter.com/bennettfeely">@bennettfeely</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="menu-open menu-button"><a href="#">Menu</a></div> | |
<div id="menu"> | |
<div class="menu-close menu-button"><a href="#">Close</a></div> | |
<div id="menu-inner"> | |
<div id="menu-filter"><input type="search" placeholder="filter"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="rain"></section> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var c = document.createElement('canvas'); | |
var ctx = c.getContext('2d'); | |
var cw = c.width = window.innerWidth; | |
var ch = c.height = window.innerHeight; | |
document.body.appendChild(c); | |
var rand = function(a,b){return ~~((Math.random()*(b-a+1))+a);} | |
var mx = cw/2; | |
var my = ch/2; | |
var spacing = 35; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="panel"> | |
<div id="right"> | |
<div id="caption"> | |
Maze generator | |
</div> | |
<div id="desc"> | |
Using Prim's algorithm where weight of adjacent edges is set with random numbers. | |
</div> | |
<div id="buttons"> | |
<a class="button disable" id="btStart" href="javascript://">Start</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="wrapper"> | |
<ul id="drops-wrapper"> | |
<li><a href="#" class="toggle" data-genie-target="#target">Click me 1</a></li> | |
<li><a href="#" class="toggle" data-genie-target="#target">Click me 2</a></li> | |
<li><a href="#" class="toggle" data-genie-target="#target">Click me 3</a></li> | |
<li><a href="#" class="toggle" data-genie-target="#target">Click me 4</a></li> | |
<li><a href="#" class="toggle" data-genie-target="#target">Click me 5</a></li> | |
</ul> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Try to Pull the Arrow <span class="me">Down</span></h1> | |
<div class="wrapper wbot"> | |
<div class="content"> | |
<ul> | |
<li><a href="#">Cool, HUH</a></li> | |
<li><a href="#">Try to</a></li> | |
<li><a href="#">Pull the</a></li> | |
<li><a href="#">Arrow Up</a></li> | |
<li><a href="http://codepen.io/mmoustafa" target="_blank" class="me">mmoustafa</a></li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="radio" name="name" checked /> | |
<input type="radio" name="name" /> | |
<input type="radio" name="name" /> | |
<input type="radio" name="name" /> | |
<input type="radio" name="name" /> |