JSFoo 2013

All about being creative with JavaScript

Interactive Physics Simulation In The Browser - What I Learned

Submitted by Nilesh Trivedi (@nileshtrivedi) on Monday, 29 July 2013

videocam_off

Technical level

Intermediate

Section

Crisp Talk

Status

Confirmed

Vote on this proposal

Login to vote

Total votes:  +8

Objective

Learn about the best practices and latest research for physics simulation in the browser as well as some practical tips for games and science apps

Description

I have been working on interactive 2-d physics simulation in the browser by writing a pure-Javascript physics engine from scratch and have made good progress on it. Here is a sneak peek: http://t.co/lnpWf7gpbF

In this talk, I want to share my learnings on topics like numerical integration methods, rigid body dynamics, constrained dynamics and collision detection/response. I will also talk about the tradeoffs involved like accuracy vs. performance.

This should be interesting to people developing games or other simulation apps for the web. This will be a crisp talk so it will be very quick-paced and dense. I will provide a link to some demos in the coming weeks.

Requirements

Elementary knowledge of mathematics and physics but more importantly, a lack of fear for these. :)

Speaker bio

I am Nilesh Trivedi. I have been programming for last 15 years with various languages. Ruby and Javascript are my current favorites.

Currently based in Udaipur, I am now working on my personal projects.

Links

Slides

http://t.co/lnpWf7gpbF

Comments

  • 1
    Sreekanth Vadagiri (@sreeix) 5 years ago

    Interesting, I have/had been dabbling in the same area. Would be interested to talk to you about your thoughts.

Login with Twitter or Google to leave a comment