NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Easy Java Simulations (2001- ) => Questions related to EJS => Topic started by: Ka-lolek on August 19, 2008, 03:04:59 am



Title: collisions
Post by: Ka-lolek on August 19, 2008, 03:04:59 am
Hello
Is it possible to simulate ball collisions with EJS?
If yes, are there any examles of EJS abbilities in this problem?
Can I make 3D simulations as well?
Greetings


Title: Re: collisions
Post by: lookang on August 19, 2008, 01:40:04 pm
http://www.um.es/fem/EjsWiki/index.php/Examples/MultipleCollisions

MultipleCollisions

This is a simulation of the collisions among a large number of planar disks. The event-handler of the ODE solvers are used for the detection and treatment of the collisions.

Yes 3-D is possible.


Title: Re: collisions
Post by: Ka-lolek on August 19, 2008, 04:50:07 pm
Ok, so how to make 3D in EJS (I haven't seen this option there)? Are there any docs about it?


Title: Re: collisions
Post by: lookang on August 19, 2008, 10:03:44 pm
reference:
http://fem.um.es/Ejs/EjsExamples3.3/Simulations/Particles3D.html




http://fem.um.es/Ejs/EjsExamples3.3/Simulations/Particles3D_Particles_3D.html
Particles 3D

This is a simulation of a set of particles moving freely inside a 3D cube and colliding with a moveable floor.
The state it is now, the example is just a show-off of the 3D capabilities of Ejs, but... can you think of an application to gas dynamics?
(http://fem.um.es/Ejs/EjsExamples3.3/Simulations/_examples/_data/threeD.gif)

u can try it, but i have not done any 3-D stuff, 2-D is already tough for me???