I've been attempting to duplicate the mesmerizing effect showcased on this webpage: (give it a try by moving your mouse), but I'm baffled by how they managed to achieve it?
My attempts at experimenting with a JSFiddle can be found here: http://jsfiddle.net/1tz5b6r0/, however, the results have been less than successful.
The following function:
function animate() {
requestAnimationFrame(animate);
update();
}
Makes use of requestAnimationFrame
, yet there is no trace of it in their codebase.
The method behind creating this particular effect eludes me
What am I overlooking?