physics gas simulation on JS