Widgets
Personal
|
Javascript Image FunctionsNote: These are just a bit of fun - I don't recommend anyone use them anywhere as they are totally useless! Note 2: You can do this kind of thing with CSS filters, but they're an IE thing, not standard. Javascript doesn't have any functions for manipulating image, so I thought I'd write a couple. The trouble is, js doesn't have any functions, so these are both horrific hacks :) Blur
Here you see a normal image and a copy blured with javascript.
This works by making the image semi-transparent, cloning it several times and ofsetting the clones in a circular pattern.
Change these values to play with the blur:
Rotate
If you thought the blur was crazy, you haven't seen anything yet!
Click on the images below to make them rotate.
Don't try this on a slow computer.
|
||||||||||||