Skip to content

Ecce Signum

Immanentize the Empathy

  • Home
  • About Me
  • Published Works and Literary Matters
  • Indexes
  • Laboratory
  • RSS Feed

Flash 8 Stress Test

2005-12-09 John Winkelman

This is my most recent Flash 8 experiment. I used it to see what some of the possible limits of rendering might be; specifically, multiple levels of alpha transparency rendering over a complex background.

It works like this: A .jpg (the background) and a .png with alpha transparency (a Green Floating Chad Head) are loaded at runtime. I copy the .jpg and the Chad Head into Bitmap objects, then run a simple math algorithm to copy 100 instances of the Chad Head onto the background, then clone that bitmap onto the one which is displayed in the Flash player. This combines two concepts known as blitting and double buffering, which help to speed up otherwise lengthy and/or processor-intensive rendering jobs.

SkaBoom, 100 objects moving at a high rate of speed with, in effect, 100 levels of alpha transparency displayed at once. All combined into a single 480 pixel square bitmap.

Thanks to the folks over at Bit-101’s forums for help with some of the new functionality.

Click to launch the Flash 8 stress test.

Posted in ProgrammingTagged Flash

Post navigation

Last
House Photos I

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Personal website of
John Winkelman

John Winkelman in a diner in San Francisco

Archives

Categories

Posts By Month

December 2005
S M T W T F S
 123
45678910
11121314151617
18192021222324
25262728293031
« Nov   Jan »

Links of Note

Reading, Writing
Tor.com
Locus Online
The Believer
File 770
IWSG

Watching, Listening
Writing Excuses Podcast
Our Opinions Are Correct

News, Politics, Economics
Naked Capitalism
Crooked Timber

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

© 2023 Ecce Signum

Proudly powered by WordPress | Theme: x-blog by wpthemespace.com