janneRasterize a triangle using Excel
April 8th, 2007 by janne
1
« 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. :)

triangle rasterizer written in excel formulas

Here’s the “source code”: spreadsheet file

Tags: , ,

Digg Digg this stumbleupon StumbleUpon reddit Reddit Facebook

Leave a Reply

You must be logged in to post a comment.