diff --git a/demo/demo.css b/demo/demo.css index 75978e9..0994563 100644 --- a/demo/demo.css +++ b/demo/demo.css @@ -26,6 +26,10 @@ h1 a:link, h1 a:visited, h1 a:hover, h1 a:active { margin-right: 7px; } +h1 span { + +} + h1 img { width: 45px; height: 45px; @@ -35,7 +39,7 @@ h1 img { } h2 { -font-size: 18px; + font-size: 18px; } pre { @@ -46,8 +50,6 @@ pre { font: 10px Monaco, monospace; } -canvas { border: 1px solid #000; } - p { font-size: 125%; max-width: 530px; line-height: 18px; margin-bottom: 36px; } a:link { diff --git a/demo/demo.js b/demo/demo.js index a669a7c..7568a34 100644 --- a/demo/demo.js +++ b/demo/demo.js @@ -4,7 +4,7 @@ function DynamicText(message, width, height, textAscent) { this.growthSpeed = 0.5; this.minSize = 0; - this.maxSize = 5; + this.maxSize = 3; this.noiseScale = 300; this.noiseStrength = 10; diff --git a/index.html b/index.html index 762b251..391a72c 100644 --- a/index.html +++ b/index.html @@ -34,7 +34,7 @@ window.onload = function() { - var testDisplay = new DynamicText("gui-dat", 600, 300, 160); + var testDisplay = new DynamicText("gui-dat", 600, 100, 75); prettyPrint();