Bundle: Moving Line project (.swf, .fla and .as) ParticleSystem and Particle classes (.as) !!! Documentation from my site (see my profile) of moving line and particle system.
Architecture: Moving line parts: 1) Random Bezier curve creation connected to each other 2) Line creation using points in Bezier curve 3) Update line's trail falling down alpha and deleting transparent lines (trail) 4) Particle system emitting particles from the head of moving line in opposite direction
First of all code creates Bezier curve, then using defined step in a loop code creates line using points in a curve. Each new line fall down alpha previous one, when line is transparent it will be deleted. Code create next curve when step in Bezier curve is at the end. First line (every new one) defines angle of particle system attached to it.
Initialization example: Actionscript on Stage: import MovingLine //main class for(var i:Number = 0 ; i
Bundle:
Moving Line project (.swf, .fla and .as)
ParticleSystem and Particle classes (.as) !!!
Documentation from my site (see my profile) of moving line and particle system.
Architecture:
Moving line parts:
1) Random Bezier curve creation connected to each other
2) Line creation using points in Bezier curve
3) Update line's trail falling down alpha and deleting transparent lines (trail)
4) Particle system emitting particles from the head of moving line in opposite direction
First of all code creates Bezier curve, then using defined step in a loop code creates line using points in a curve. Each new line fall down alpha previous one, when line is transparent it will be deleted. Code create next curve when step in Bezier curve is at the end. First line (every new one) defines angle of particle system attached to it.
Initialization example:
Actionscript on Stage:
import MovingLine //main class
for(var i:Number = 0 ; i