Category: Computer Graphics
-
2D Matrix Decomposition
This demonstrates the polar decomposition of 2D matrices into their angle, scale, and shear components. The polarDecomp algorithm is taken from Shoemake & Duff “Matrix Animation and Polar Decomposition“, 1992.
-
Pixel-perfect Graphics, Revisited
Mathematica 7 introduces a new Image function that eliminates all the hassle previously necessary to create and export pixel-perfect raster images.
-
What is a sampling test image?
I was asked what the purpose is of the test image in my previous post, and why the alpha was set to 0.01 rather than 0 in alternating pixels.
-
Exporting Pixel-Perfect Graphics in Mathematica
I keep having to figure out how to export pixel-perfect raster images from Mathematica, which I use for test images with my software. I found that it’s simpler to use ArrayPlot than Raster now, so I’m documenting this for my future use (and any one else’s).