943,946 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 3474
  • Java RSS
Jun 12th, 2005
0

JAVA animation problem - animating a bezier curve !!!

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
JGee2005 is offline Offline
2 posts
since Jun 2005
Jun 12th, 2005
0

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

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.
Reputation Points: 113
Solved Threads: 19
Postaholic
server_crash is offline Offline
2,108 posts
since Jun 2004
Jun 12th, 2005
0

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

Thankyou I shall look into doing that.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
JGee2005 is offline Offline
2 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Suggest me what other resources should i need to have?
Next Thread in Java Forum Timeline: very new to java - need help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC