News for hackers. Stuff that matters.
Re:Tangle: a JavaScript library for reactive documents by pmtarantino on Monday July 08, 2013 @11:50AM (#6007362)
I can imagine this in the science books of the future. I usually check with a few cases to see if I understand the subject correctly, but sometimes I have enough samples to test.

This would be great: the student can see the default example, learn the subject and then try to check if he understood it correctly seeing how it behaves changing the parameters!

Re:Tangle: a JavaScript library for reactive documents by _delirium on Monday July 08, 2013 @12:09PM (#6007473)
In a physics course I took some years ago, we used Mathematica notebooks for that. The professor had written out explanations of a few subjects we were studying in the style of tutorial notes or a paper handout, but within Mathematica so you could change the parameters and see updates in real time.
Re:Tangle: a JavaScript library for reactive documents by jjsz on Monday July 08, 2013 @01:11PM (#6007816)
So which one do you recommend for a first year CS student Mathematica or Tangle?
Re:Tangle: a JavaScript library for reactive documents by count on Monday July 08, 2013 @01:15PM (#6007843)
Pedagogy aside, Mathematica will serve them better from a 'other people use this' perspective over the years.
Re:Tangle: a JavaScript library for reactive documents by thauck on Monday July 08, 2013 @04:00PM (#6008904)
At this point, I might argue for IPython Notebook.
Re:Tangle: a JavaScript library for reactive documents by jjsz on Wednesday July 10, 2013 @09:37PM (#6023998)
The question I was going to make has been asked here: http://stackoverflow.com/questions/17483271/is-there-a-way-t...
Re:Tangle: a JavaScript library for reactive documents by nileshtrivedi on Monday July 08, 2013 @01:18PM (#6007863)
I am currently working on interactive 2-d physics simulation in the browser with much the same ideas. On the desktop we have apps like KDE Step but I haven't found anything similar for the web.

Currently I have particles,disks and boxes working with gravitation, coulomb and custom-defined forces. I also implemented Runge-Kutta method of integration instead of horribly inaccurate Euler's method. You can manipulate the objects, their parameters and laws even while the simulation is running.

I need to add basic collision detection and things like springs, links, and linear/angular motors and embedding the simulation as a widget before polishing it up and releasing.

Email me in case this sounds interesting and you would like to stay updated.

Re:Tangle: a JavaScript library for reactive documents by hsparikh on Monday July 08, 2013 @12:16PM (#6007514)
Precisely. In physics, testing extreme cases and boundary conditions is one of the first ways to get a better understanding of a system. Tangle can be a great tool to empower learners to do this visually.