Particles Confetti | Paid
Create draggable particles animation with images and shapes. Also known as confetti. Animation shown when winning games. Eg: raining coins
📦 51.31 KB
📁 com.jerin.confetti.Particles
Permissions :
READ_EXTERNAL_STORAGE
Designer Properties
ConfettiSize | number |
Particles size |
EmissionRate | number |
rate at which particles are emitted |
EnableFadeOut | boolean |
|
EnableTouch | boolean |
Enable or disable dragging of particles |
InitalCount | number |
|
InitialRotation | number |
|
RotationalAcceleration | number |
|
RotationalVelocity | number |
|
StreamDuration | number |
|
TargetRotationalVelocity | number |
|
TargetVelocityX | number |
|
TargetVelocityY | number |
|
TimeToLeave | number |
|
VelocityX | number |
|
VelocityY | number |
Blocks
InitializePosition
Step 1 - Intitalize a boundary to show particles
x | number |
|
y | number |
|
x1 | number |
|
y1 | number |
IntializeConfetti
Step 2 - Secondly initialize this confetti block.
layout | component |
to show confetti from |
colors | list |
list of colors or images |
images | list |
list of colors or images |
Step 3 - Choose from ExplosionMode, PointMode,RainingMode
ExplosionMode
Animates particles in a explosion type mode.
PointMode
Default values are: • velocityX(20) • velocityY(100) RotationalVelocity(180)
RainingMode
Default values are: • velocityX(0) • velocityY(100) • InitialRotation(180) • RotationalAcceleration(360) • TargetRotationalVelocity(360)
OneShot
Starts animation that emits all of the particles at once.
Use after setting any mode.
Stream
Starts a stream of particles that animates for the provided duration.
Use after setting any mode.
Terminate
Terminate currently running confetti.
And some awesome properties
Sample Blocks
Creates a coin falling confetti animation in a vertical layout
Check more extensions
Library used
👇🏽 Download Extension
Documentation generated with Getaix
Test apk
Confetti.apk (4.9 MB)