J
Josechu
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).
Draw the new diameters.
Note: The endpoints of the diameters should be stored in float arrays and
drawn as float.
I'm not very good at Java at the moment but I'd like to transform an old
program from QBasic into a java applet and I think that this little
framework is all I need.
The program I want to transform is here:
http://www.josechu.com/moving_fractal/index.htm
Thanks,
Josechu
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).
Draw the new diameters.
Note: The endpoints of the diameters should be stored in float arrays and
drawn as float.
I'm not very good at Java at the moment but I'd like to transform an old
program from QBasic into a java applet and I think that this little
framework is all I need.
The program I want to transform is here:
http://www.josechu.com/moving_fractal/index.htm
Thanks,
Josechu