Raster 'ghosted' tri-fill performance test

remixed by TheLogFather
  scripts
  sprites
See inside
Notes and Credits (added by TheLogFather)

The new pen alpha feature allows drawing with semi-transparency.
However, it's not easy to get a uniform transparency because of the 'overlap problem' - if you draw over the same region twice, you get 'double-strength' opacity.

The triangle fill here uses a rastering method to draw only horizontal lines that don't overlap each other, thus ensuring a uniform fill.

Interestingly, Flash renders horizontal lines *much* quicker than vertical (but it makes no difference to the actual script execution time). Consequently, the performance isn't a total flop when compared to the really fast hybrid method (from which this project was remixed).

Shared: 8 May 2015 Modified: 19 Oct 2017
Favorite this project 15
Love this project 26
Total views 320
View the remix tree  133
  
More projects by TheLogFather