Mark's software

home aircraft books history links old news quotes soft sounds weather

software - scratchpad

scratchpad zagi mixer

This page is used for trying out web based stuff.
You'll need to view the page source to see how it is done.

page updated

Here is a bit of javascript which automates the page updated function.
The real javascript for the top of this page is in a separate .js file.

mouse over

Here is a bit of javascript which should show the mouse over and out events.

mouse over 2

And now some clever jquery stuff...

Now the same as above but done with jquery hover.

matrixcode.gif

animate

Now some simple attribute animation


html5 canvas and mouse move

Note: If you are viewing this in IE8 (or older?) the html5 canvas is indirectly supported by excanvas.js which runs a lot slower than it would be in other browsers directly.

Now something to show the mousemove event.
Mouse (left) down to draw on the canvas.

mouse at

html5 canvas and mandelbrot calculation

Now something a bit more complicated.
Calculate and draw (part of) the mandelbrot set.

Note: This does work in IE8 (or older?), but runs so slowly that it would take many hours to complete.
Worse, it seems to slow down as it goes on.
View it with a browser that has native html5 canvas support eg. google chrome.
That takes about only about 15 secs to complete.
Navigate away or refresh the page if you get bored.

Click draw mandelbrot to start, then click on the picture to zoom in 2x to that point.
Click clear to reset and start again.


mouse at
centre origin at
scale =
nTimers =