Java3D Implementation for Simulation in Computer Graphics