diff --git a/demos.html b/demos.html index 06a2a51..75cea29 100644 --- a/demos.html +++ b/demos.html @@ -21,11 +21,24 @@

Live examples running in your browser
- - - +

Exploding Dots

+

This demo by @anvaka uses the ngraph.generators and ngraph.vivasvg modules to create an animated exploding SVG dot cluster. + +

Here is the above code running in an iframe, click it to run the animation.

+ +
+

Infinite 2D Cave Generator

+

This demo by @hughsk uses 7 small modules to create an explorable 2D procedurally generated cave.

+ +

Click the canvas to give it focus and then use WSAD or Arrow keys to explore.

+ +
+

2D velocity control

+

This demo by @sethvincent uses some modules from his CRTRDG 2D game library.

+ +

Click the canvas to give it focus and then use WSAD keys to explore.

+
- diff --git a/index.html b/index.html index 9194fb1..69a9092 100644 --- a/index.html +++ b/index.html @@ -27,7 +27,7 @@

Browserify lets you require('modules')
-
+

Use Modules In The Browser

Write your browser code with node.js-style requires

@@ -123,10 +123,10 @@

-
-

Install

+
+

Install

-

use Browserify from the Command Line

+

use Browserify from the Command Line

diff --git a/style.css b/style.css index 97e66e5..c68e098 100644 --- a/style.css +++ b/style.css @@ -95,6 +95,19 @@ h2 { text-align: center; } +.content p { + margin: 40px 0; +} + +.content iframe { + margin-bottom: 40px; + border: 1px solid #ddd; +} + +.content hr { + margin-bottom: 40px; +} + div, p, blockquote, button { margin: 0; }