Category Archives: crazy stuff

Displacement Field – more fun with javascript and canvas

Just another fun/play/experiment with javascript, canvas and some number crunching.

http://www.creamdog.se/DisplacementField/

JSCloth – fun with javascript and canvas

Just wanna post a link to my latest experiment, simulating cloth/fabric using javascript and canvas.

Obviously you need a browser that supports the <canvas> element, should work fine in Chrome, Firefox, Safari or Opera. I do not recall at the moment if IE9 supports it, but I think so.

Anyhow,

It is pretty slow in Firefox 3.6.10 (15 fps textured, 30 fps wireframe)

It is faster in Firefox 4 Beta, but just barely (18-20 fps textured, 35-40 fps wireframe)

Chrome 6.0.472.63 is the fastest browser (50 fps textured, 80 fps wireframe)

http://www.creamdog.se/JSCloth/

Secret plans

Andrey stumbled upon my secret factory in Rotebro, plans for world domination foiled once again! I will get you yet Zhukov!