Tag Archives: math

Snippet Saturday: isRoughlyEqual() PLUS: as3-utils

Last week, I started a (hopefully) weekly post where I throw out a (hopefully) useful piece of code for people to (hopefully) use in their projects. I’m calling this #SnippetSaturday. John Lindquist commented almost immediately that there is a project … Continue reading

Posted in AS3, Snippets | Tagged , , | Leave a comment

Snippet Saturday: limit() function

So I’m sitting on a bunch of pretty useful code and I’m not sure how to share it with people. I could create a massive library that combines all the miscellaneous bits into a single, poorly documented library, but after … Continue reading

Posted in AS3, Snippets | Tagged , , , | 3 Comments

AS3 number to hex converter

I’ve been working on some code for converting colors lately and getting quite into bitwise operations. In one of the demos I was making, I needed a quick and easy way to see the results of a color calculation. Of … Continue reading

Posted in AS3, Lab, Programming | Tagged , , , , , , | 5 Comments