From fdd6be8120c1007ff41b345ede9bc3768130703c Mon Sep 17 00:00:00 2001 From: Elijah Cohen Date: Wed, 31 May 2017 13:13:57 -0400 Subject: [PATCH] added scaling --- index.html | 14 +++++++++++--- tr.js | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 002a9aa..2db42e4 100644 --- a/index.html +++ b/index.html @@ -6,9 +6,18 @@ rivers in text into pretty pictures! + - Put in some text, change some parameters, and get an associated image! (slight warning, using large pieces of text might take up too much memory, so start small!) + Put in some text, change some parameters, and get an associated image!
(slight warning, using large pieces of text might take up too much memory, so start small!)

@@ -20,14 +29,13 @@

- Scaling Factor (not yet implemented) + Scaling Factor


- test
diff --git a/tr.js b/tr.js index a8bf431..fee77d1 100644 --- a/tr.js +++ b/tr.js @@ -114,7 +114,7 @@ function go() { console.log(w); console.log(t); p = mat_to_png(get_matrix(s,w,t)); - document.getElementById("img_zone").innerHTML = ''; + document.getElementById("img_zone").innerHTML = ''; //d = document.createElement('div'); //d.innerHTML = //document.getElementById("img_zone").appendChild(d); -- 2.39.2