Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Software for Calculating Geometric Transformations
Replies: 3   Last Post: Sep 6, 2011 4:52 AM

 Messages: [ Previous | Next ]
 Charles Hottel Posts: 10 Registered: 9/5/11
Re: Software for Calculating Geometric Transformations
Posted: Sep 5, 2011 11:53 AM

"PB" <p@b.com> wrote in message news:j41ko6\$dp9\$1@news.datemas.de...
>I am currently doing a course on Computer Graphics Algorithms. This
>involves lot of matrix transformations i.e. for eg - rotating co-ordinates,
>translating, reflecting etc.
>
> I am solving the problems on paper using a calculator, but I need some
> software which will help me verify the solution (the calculations are very
> error prone with so many matrix multiplications)
>
> i.e. I am looking for software where if I input "Reflect point (4,5) on
> line y = 3x + 12",
> it will give me the reflected co-ordinates. Does anyone know of any free
> software which will help me with this?

If you operating system is MS Windows you could write a VBScript program
which would run via Windows Script Host. Just write you script and save it
with a .vbs extention and double-click it to run the script.

Also Java is free but has a much steeper learning curve.

Her is a very simple VBScript example:

'*************************************************************************
'Script Name: SquareRoot-2.vbs
'Author: Jerry Ford
'Created: 11/22/02
'Description: This script demonstrates how to solve square root
'calculations using VBScript's Built-in Sqr() function
'*************************************************************************

'Initialization Section

Option Explicit

Dim UserInput

UserInput = InputBox ("Type a number", "Square Root Calculator")

MsgBox "The square root of " & UserInput & " is " & Sqr(UserInput)

Date Subject Author
9/5/11 PB
9/5/11 Jasen Betts
9/5/11 Charles Hottel
9/6/11 cor