JAVA animation problem - animating a bezier curve !!!

Reply

Join Date: Jun 2005
Posts: 2
Reputation: JGee2005 is an unknown quantity at this point 
Solved Threads: 0
JGee2005 JGee2005 is offline Offline
Newbie Poster

JAVA animation problem - animating a bezier curve !!!

 
0
  #1
Jun 12th, 2005
Hi there I am new to JAVA,

I would like to create a line 2 pixels wide that moves across my screen.

The line should be a bezier curve and should animate pixel by pixel.

I would like to have 200 fps and four seconds from animation start to end.

http://www.itfreaks.com/forum/showthread.php?t=2897

The above is a thread in which I learnt to create a curve.

I am stuck ... all help is appreciated please contact me at JGee2005@aol.com.

Thank you in advance.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 2,108
Reputation: server_crash is on a distinguished road 
Solved Threads: 18
server_crash server_crash is offline Offline
Postaholic

Re: JAVA animation problem - animating a bezier curve !!!

 
0
  #2
Jun 12th, 2005
I wouldn't waste my time writting some method to create a parabola like that. Use drawPolyline(), it's much easier. You could use a Timer object to keep track of how long, and then just increment the variables and call a repaint.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 2
Reputation: JGee2005 is an unknown quantity at this point 
Solved Threads: 0
JGee2005 JGee2005 is offline Offline
Newbie Poster

Re: JAVA animation problem - animating a bezier curve !!!

 
0
  #3
Jun 12th, 2005
Thankyou I shall look into doing that.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC