Reading List

I’ve just spent a little bit of time adding a large selection of books/links to my reading list page. I love reading and finding out about new things and books are a great way to do this. I already own and have read some of these books, others are on my wish list of books to read. Either way I thought I would share the ever-growing list with anybody who’s interested.

Menu classes on code.google.com

http://code.google.com/p/lukelibs/ is my page. And I will try and document the classes and give code example in the wiki, although you can always download the menu package now as the classes are heavily documented and not particularly complex.

FOTB 2009

I’ve just spent the past 4 days at this years Flash on the Beach conference, and honestly, it blew my mind! Last year was my first year and I found that fantastic, but the speakers and content at this years conference was exactly what I wanted to hear. It was a great place to be [...]

Webcam Painting

This was a tiny 20 minute experiment where I am using the mouse to paint the video from my webcam directly on to the stage. The pixel colour is taken from the webcam.

Fixed vertical scrolling text bug

There has been a bug in flash that has always niggled me, and I’ve always wanted to try and find a solution but for one reason or another never had a chance to. This bug occurs when you dynamically insert text in to a TextField in Flash which is allowed to autoSize and then selected all the text by dragging. In most cases, as you drag down the text will scroll up 1 line and you will loose the top line. This is a really ugly bug.

Flocking

I finally managed to spend a little time exploring Flocking and AI using Flash to visualise the emergent system. This effect has been done by other people numerous times so it’s nothing new, but it’s the first time I’ve been able to work on this effect.

Cargo video player

I’ve have been following the development of Cargo for a couple of months now and just recently signed up for a beta account. Cargo is a fantastic Personal Publishing Platform that is currently open for beta testers and provides a simple and clever way to built a beautifully simple portfolio and the ability to follow and be followed by other Cargo users.

bitmapData, performance problems

The new systems can have an array of 1000+ particles that it loops through each frame and calls the render() method on. Then once all the Particles have rendered their graphic to the empty Sprite I use draw() once to draw the Sprite to the Bitmap. So once all the code has run, the only thing the Flash player has to render is the Bitmap, because nothing else is in the display list.

Bouncing Ball Collisions

I’ve just spent the past couple of hours revisiting some tutorials and thoughts on bouncing ball physics and I wanted to try and incorporate collision detection in the experiment as well. As far as I can tell it seems to work quite well. I even set the rotation of each of the balls based on their current x velocity so that it looks like they are actually spinning around.

Tweeny performance test (1000 balls)

I’ve created 5 seperate examples so that the numbers wouldn’t be affected by previous tweens and used Tweeny, TweenLite, Tweener, gTween and Tweensy. The framerate is 30 fps and I have used exactly the same code in all experiments (in fact all the code is in each one, I just comment and uncomment the tween I want to use).