[PD] rotating coordinate system

Damien Henry dh at dh7.net
Tue Jul 7 18:39:52 CEST 2009


Xnew = Yold
Ynew = -Xold

?

dh.

Achim Bornhoeft a écrit :
> Hello,
> I need to solve the following problem for different setups of room 
> distributions.
>
> Given are x and y values between 0 and 100:
>
> 0/100 100/100
> |
> | x
> |
> | x
> |____________
> 0/0 100/0
>
> I would like to transform the same values mathematically in a way that 
> the result correspond to the coordinate system rotated 45 degrees 
> clockwise:
>
> 0/0---------0/100
> |
> | x
> |
> | x
> |
> 100/0 100/100
>
> Hopefully someone can help me with this.
> Many thanks in advance.
> Achim
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>
>





More information about the Pd-list mailing list