Hacks

jsSO: Flash shared objects in Javascript

jsSO: Flash shared objects in Javascript

Without polling the server, an expensive operation, there isn’t a simple way send a Javascript client frequently updated server data. This is a problem if you want to make a multiuser game or chat application in Javascript. A post on ajaxian proposes a solution: Daniel Prieler’s jsSO library, which proxies real time communication between Javascript […]

Projective transformation and perspective in Javascript

Projective transformation and perspective in Javascript

Javascript only supports affine transformations in the Canvas element. In plain English, this means you have control over simple transformations like rotation, scale, and skew. Rendering something with perspective, however, involves a projective transformation and there are no 3D transformation operations within the official Canvas spec to support this sort of thing. Steven Wittens hacked […]