zoom
delay
fps
formula
The Mandelbrot set explorer
(see The Mandelbrot set Anatomy).
Click mouse to explore it. Use mouse wheel to change zoom speed.
Your GPU must support cl_khr_fp64 or cl_amd_fp64
extensions (see the WebCL test).
WebCL + WebGL for animation acceleration
Kernel calculates the M-set and makes array of RGBA pixels. Data are passed
to CPU then backwards to GPU as texture. WebGL shaders are used to accelerate
image drawing (see the page source and simple script
cl_gl.js).
For the 1024x768 pictures slowest frame
takes about 65 msec in sum (the M-set calculation takes about 45 msec).
So it is not bad for early WebCL realization.
WebCL Demosupdated 12 June 2011