|Rasterize a triangle using Excel|
April 8th, 2007 by janne
|« Comment spam!||naapuri tykkää kitarasta »|
The lucky ones on the old saasta-lista have already seen this but since a few others were asking for it, here goes..
Here’s a triangle rasterizer I wrote completely in Excel formulas. Each cell calculates whether it’s inside the rendered triangle or not and sets its color using conditional formatting.
Assign different values to cell C2 (Z Angle) to rotate the triangle. I didn’t find an easy way to make Excel animate it automatically without user intervention.
Haven’t tested on OpenOffice.
Yeah I know.. This is not very useful.
Here’s the “source code”: spreadsheet file