Skip to content
Ecce Signum

Ecce Signum

Immanentize the Empathy

  • Home
  • About Me
  • Published Works and Literary Matters
  • Laboratory

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 »

Twitter Feed

JohnWinkelmanJohn Winkelman@JohnWinkelman·
9 Apr

Yeah, that would have been a totally different movie.

Alex de Campi@alexdecampi

Clockwork Orange, hat test, 1971

Reply on Twitter 1380494051548487681Retweet on Twitter 1380494051548487681Like on Twitter 1380494051548487681Twitter 1380494051548487681
JohnWinkelmanJohn Winkelman@JohnWinkelman·
9 Apr

5 of 5 stars to How to Be an Antiracist by Ibram X. Kendi https://www.goodreads.com/review/show?id=3914846425

Reply on Twitter 1380333038945591296Retweet on Twitter 1380333038945591296Like on Twitter 1380333038945591296Twitter 1380333038945591296
JohnWinkelmanJohn Winkelman@JohnWinkelman·
5 Apr

4 of 5 stars to How to Dress a Fish by Abigail Chabitnoy https://www.goodreads.com/review/show?id=3922597309

Reply on Twitter 1379031329006833664Retweet on Twitter 1379031329006833664Like on Twitter 13790313290068336641Twitter 1379031329006833664
Load More...

Links of Note

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

Watching, Listening
WYCE Electric Poetry
Writing Excuses Podcast
Our Opinions Are Correct

News, Politics, Economics
Naked Capitalism
Crooked Timber

Meta

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

© 2021 Ecce Signum

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