Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generated background image with CSS or Canvas

Recently found this image:

enter image description here

Original size of image is more than 2MB.

I want to set to background of my project something like that.

I wonder, if it is possible to generate something like that without any image but with new web technologies like CSS3, HTML5 Canvas... or something like that?

If not, how can I reduce size without touching image width and height? is that possible?

like image 931
heron Avatar asked Jul 17 '26 18:07

heron


1 Answers

It is absolutely possible with canvas.

See: http://js1k.com/2011-dysentery/demo/955

http://js1k.com/2010-first/demo/171

http://js1k.com/2011-dysentery/demo/993

There's also this particle system: http://www.mrspeaker.net/dev/parcycle/

like image 95
Johannes Fahrenkrug Avatar answered Jul 20 '26 18:07

Johannes Fahrenkrug



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!