A Carmack scroll algorithm test project coding in AS3