Nth Bit Patterns

tags: flash · chaos · actionscript3

Javascript & Flash required.
Step1: Get Flash Here
Step2: Enable Javascript.
Step3: Refresh.

A simple pattern generating experiment involving bit checking.

At each x,y coordinate on the plane, an integer is produced using the formula value = Math.pow(x,2) * y. This value's nth bit is then checked; if it is one, then a point is plotted.

References

Add A Comment

Some html formatting accepted. Please use Markdown syntax for entering formatting markup. All comments are moderated and we reserve the right to remove inappropriate material.