Hi,

I´m new at js and I´m trying to draw a circle, but there is still something wrong.

Maybe someone could help…

Copy **all** of the following text. Then, in Max, select *New From Clipboard*.

----------begin_max5_patcher----------
318.3ocsSErSDBCD8b4qnYNiFZQXUu4Uu5QyFSA5xVCzRnkH5l8eWZoH6ptw
kMwKSSm40ou2qS2EffLUOWC36wOiQncAHjKkMAxuGA0r97Jl1AC1Tojc0P3X
oMJoQK9faKQnWG4S2vL4aExxWZ44lwtGSiGJiSSswjHajNDwq8GYnoBYE23t
EhOonvcmprWuhj.yHUclInzCXhjU6XB7PqfUMgeDr48F9HSrRfYfPLjwjk.d
sE19f.aH7LcgZtVyJ4K2Fn2sxJcRR7rOPt8T9.8m9P5uaCjkaCWlxk72FnwT
SM7dmvfGe5RFIbCCjH2xpzEOSby+jW3H.TIje+qgSD17GaPZUWa9Tq7DCOKi
Bt1HjLiPIO.yvCIl7ElshhBtq7jgUKJZTBowSgS7XctLx984OozwzdYTZXy9
fOg8V0uk
-----------end_max5_patcher-----------

//the js

inlets = 1;

outlets = 1;

var r = 1;

function msg_float(x)

{

Math.pow(r,2) = Math.pow(y,2)+Math.pow(x,2);

outlet(0, y);

}

//thanks Falk