ang = objectIteration * ( Math.PI * 2 ) / totalNumberOfObjects );
i.e. get angle for circle…
for( var i = 0; i < 100; i++ ){
ang = i * ((Math.PI * 2) / (num));
}
ang = objectIteration * ( Math.PI * 2 ) / totalNumberOfObjects );
i.e. get angle for circle…
for( var i = 0; i < 100; i++ ){
ang = i * ((Math.PI * 2) / (num));
}
This video was done by the guys at Flatlight Films. These are some beautiful time lapse shots that are simply just inspiring. DSLR cameras have come a long way.
Clear out an array quick and clean in AS3.
myArray.splice( 0, myArray.length );
I wanted to tinker around with something my friend at VisualAdvance had pointed out to me. A little bit of messing around and a couple basic easing formulas later, I came along with this little bit. I used the bitmapdata to keep track of where the target object is. I used the bitmapdata class getPixel method to get the color of the object by referencing the grid coordinates. When the color value does not return a 0 (black) the pixel shrinks down to 15%, otherwise it is always at 100%. I think this is a neat effect for transitions or what not. It runs a bit heavy due to the number of particles but once I get a chance will optimize.
Since graduating school and getting my first job, 4.7 years seems to have just been a blur. The career got a bit hectic and I started working in an autopilot mindset and had not really focused on my portfolio in quite some time. After some encouragement and a swift kick in the butt from one of the most talented Interactive Developers that I know ( VisualAdvance a.k.a. Danny Davis ), I finally have dyleeo.com up and running again. A BIG thanks to one of my closest friends D. Davis!
Check out some of the great work he does at VisualAdvance and IDArchive.