 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Josechu Guest
|
Posted: Thu Oct 23, 2003 8:57 am Post subject: Small applet needed |
|
|
I need a graphic Java applet that makes the following steps:
Given a circumference of radius "r",
Draw onscreen, say, 20 random diameters.
Then, every time you press a button:
Rotate the 20 diameters a given random angle (same for everyone).
Then delete the former 20 diameters and draw the new.
Note: The endpoints of the diameters should be stored in float arrays and
drawn as float.
I will say in a later post why I need this applet.
Thanks,
Josechu
|
|
| Back to top |
|
 |
Xela Guest
|
Posted: Thu Oct 23, 2003 11:19 am Post subject: Re: Small applet needed |
|
|
"Josechu" <josechu8ERASE_THIS (AT) wanadoo (DOT) es> a écrit dans le message de
news:bn856n$ufi0l$1 (AT) ID-143599 (DOT) news.uni-berlin.de...
| Quote: | I need a graphic Java applet that makes the following steps:
Given a circumference of radius "r",
Draw onscreen, say, 20 random diameters.
Then, every time you press a button:
Rotate the 20 diameters a given random angle (same for everyone).
Then delete the former 20 diameters and draw the new.
Note: The endpoints of the diameters should be stored in float arrays and
drawn as float.
I will say in a later post why I need this applet.
Thanks,
Josechu
|
Well, we are all very curious about the reason you need this applet, but at
the first sight, you don't need any 3D feature to implement it. I must
confess that I think that you post in the wrong group. Try to post in
alt.guess.java-applet.usage.
|
|
| Back to top |
|
 |
Josechu Guest
|
Posted: Thu Oct 23, 2003 12:35 pm Post subject: Re: Small applet needed |
|
|
| Quote: | Well, we are all very curious about the reason you need this applet, but
at
the first sight, you don't need any 3D feature to implement it. I must
confess that I think that you post in the wrong group. Try to post in
alt.guess.java-applet.usage.
|
Well, in fact what I want to do is a 3D fractal in movement. This is the
cause that I chose this newsgroup.
I don't know much java and that applet would allow me to build the fractal.
The figure I want to convert to a Java applet is in:
http://www.josechu.com/moving_fractal/index.htm
Josechu
|
|
| Back to top |
|
 |
Patti Koenig Guest
|
Posted: Tue Oct 28, 2003 6:35 pm Post subject: Re: Small applet needed |
|
|
Josechu, your 3D fractal application sounds interesting. You can probably
implement it using FastScript3D by adding a simple primitive for the lines
you draw and then rotate. You can look at the web site to see if this
might work for you ....
http://fastscript3d.jpl.nasa.gov
Patti Koenig
"Josechu" <josechu8ERASE_THIS (AT) wanadoo (DOT) es> wrote
| Quote: | Well, we are all very curious about the reason you need this applet, but
at
the first sight, you don't need any 3D feature to implement it. I must
confess that I think that you post in the wrong group. Try to post in
alt.guess.java-applet.usage.
Well, in fact what I want to do is a 3D fractal in movement. This is the
cause that I chose this newsgroup.
I don't know much java and that applet would allow me to build the fractal.
The figure I want to convert to a Java applet is in:
http://www.josechu.com/moving_fractal/index.htm
Josechu
|
|
|
| Back to top |
|
 |
Josechu Guest
|
Posted: Wed Oct 29, 2003 9:11 am Post subject: Re: Small applet needed |
|
|
Thanks Patti for your advice.
However, I will have to learn to make a simple applet first, before I start
to study those 3D libraries.
Josechu
"Patti Koenig" <Patti.Koenig (AT) jpl (DOT) nasa.gov> wrote
| Quote: | Josechu, your 3D fractal application sounds interesting. You can probably
implement it using FastScript3D by adding a simple primitive for the lines
you draw and then rotate. You can look at the web site to see if this
might work for you ....
http://fastscript3d.jpl.nasa.gov
Patti Koenig
"Josechu" <josechu8ERASE_THIS (AT) wanadoo (DOT) es> wrote
Well, we are all very curious about the reason you need this applet,
but
at
the first sight, you don't need any 3D feature to implement it. I must
confess that I think that you post in the wrong group. Try to post in
alt.guess.java-applet.usage.
Well, in fact what I want to do is a 3D fractal in movement. This is
the
cause that I chose this newsgroup.
I don't know much java and that applet would allow me to build the
fractal.
The figure I want to convert to a Java applet is in:
http://www.josechu.com/moving_fractal/index.htm
Josechu
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|