Skip to content

Commit 75d7b11

Browse files
committed
Show coordinates in lower right
1 parent b18a6ed commit 75d7b11

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

mandelbrot.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,6 @@
9292
text-shadow: none;
9393

9494
font-family: sans-serif;
95-
96-
/* Make text non-selecatble */
97-
user-select: none;
98-
-moz-user-select: none;
99-
-khtml-user-select: none;
100-
-webkit-user-select: none;
101-
-o-user-select: none;
10295
}
10396

10497
#description table {

mandelbrot.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ function draw(pickColor, superSamples)
216216
updateHashTag(superSamples, steps);
217217

218218
// Update infobox
219-
$('infoBox').innerHTML = xRange + ' ' + yRange;
219+
$('infoBox').innerHTML =
220+
'x<sub>0</sub>=' + xRange[0] + ' y<sub>0</sub>=' + yRange[0] + ' ' +
221+
'x<sub>1</sub>=' + xRange[1] + ' y<sub>1</sub>=' + yRange[1];
220222

221223
// Only enable one render at a time
222224
renderId += 1;

0 commit comments

Comments
 (0)