rolling ball system

I'd like to simulate a rolling ball system on a website. By rolling ball systems I mean things like:
   http://g42.org/tiki/tiki-index.php?page=RollingBallSystems&PHPSESSID=e382fb8cad9719ac232c61ea185d49a9

I assume that flash or a java applet would be the way to do this. The main issue with this is that balls need to run along tracks, fly through the air, then land, go through spirals, etc. This would look best if it was 3D, but I don't want to spend a huge amount of time on this, so 2D would be fine.

Is there a physics engine I could use which would allow me to do this fairly easily in either java or flash?
HappyEngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ozoCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HappyEngineerAuthor Commented:
I've tried that out and it seems promising, but since it's not pure java, it's not much use for making an applet. I'm also getting irritated by getting EXCEPTION_ACCESS_VIOLATION errors while using it.

Are there any pure java physics engines?
ikeworkCommented:
>>  but I don't want to spend a huge amount of time on this, so 2D would be fine.

never seen balls in 2D, especially flying ... ;-)

guess firstable you need to specify clearer to you, what it is going to be ... good luck :)

ike
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Game Programming

From novice to tech pro — start learning today.