If you like this animation also check our WordPress Falling Leaves plugin which will allow you to add falling leaves animation to your ads and banners.
All resources are created by PremiumCodingÂ and are free of charge with little restriction. If you would like to show support please take a look at some of ourÂ WP plugins and Flash files.
Download Freebie: jQuery Falling Leaves (4990)
- jQuery files
- HTML files
- AI files (leaves)
- jpg and png images
Modifying JS (menu.js) file:
- Gravitation â parameter speedC defines the falling speed of leaves. Increase this number to increase speed of fall.
- Rotation â parameter rotation defines how much each leaf rotates, rotation is calculated with speed of fall to achieve realistic effect of rotation.
- Rotation (true or false) â parameter rotationTrue defines whether rotation is applied or not, 1 means rotation is active, 0 means rotation is inactive.
- Number of leaves â parameter numberOfLeaves defines how many leaves appear on stage. Set the number to anything you would like.
- Size of leaves â parameter size defines the general size of leaves. Final size is then generated randomly to achieve a more realistic effect (same as speed and rotation).
- Type of leaf â parameter typeOfLeaf defines which type of leaf will appear. You have 4 possibilities: 0 – type 1, 1- type 2, 2 – type3, 3 – all types combined.
- FPS â parameter that defines fps used, simply increase or decrease number to get the desired fps.
All resources made available under category Freebies onÂ PremiumCodingÂ areÂ free for use in both personal and commercial projects.
You may freely use resources, without restriction, in software programs, web templates and other materials intended for sale or distribution. No attribution or backlinks are required, but itâs always nice to be credited. Any links or nice words are always appreciated.Download Freebie: jQuery Falling Leaves (4990)