rotate oval in lcd

flies's icon

hey folks.

i'm making a gui and i want to put an ellipse in it. (see http://www.em411.com/blog/7385/0/vector_crossfade_wgui__maxmsp.html for a pic of the gui that i want to add an ellipse to, with an explanation of what the patch is for. the oval will define the path of an oscillator that scans through a landscape, basically).

The problem is that i can't figure out how to make an ellipse where the axes aren't just straight up and down. it seems like i will probably have to do some kind of hack using paintarc. it wouldn't be as pretty (angles at the joints), and it would requite some annoying maths, but it would get the job done.

Roman Thilenius's icon

hmmm a diagonal oval ... looks like something you
need to calculate point by point (using "lineto").

-110

Peter Castine's icon

What you want to do would be a lot easier with Jitter.

Roman Thilenius's icon

yeah, it is a GL job.

just built on with nato after i didnt get the formula right for [lcd].

Tj Shredder's icon

If you don't have Jitter, try jsui, it can also talk openGL...

flies's icon

thanks, i'll look into that. I'll probably get jitter one of these days, but i'm stuck in max 4 until my financial situation changes.