Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Physics & geometry can only be computationally expressed via the medium of math.


So what? That does not mean that he should look into math to understand the physics behind this demo.

Yeah, geometry is pretty much math (that's why I separated it in the parent comment) but physics justs uses math to model and express the physic concepts.

The math behind the physics on this demo is just addition, subtraction, multiplication... He shouldn't be concerned about the math, but about the physics... unless he doesn't know elementary math of course.

The math behind the basic Newtonian Physics is damn simple. The geometry is very simple too (basic Euclidean Geometry, Bezier curves and that's pretty much it).


You are not exactly right. FYI, Newtonian mechanics = differential equations and calculus. And more advanced Lagrangian mechanics is a reinterpretation of the same ideas. I'm almost sure that Calculus was created by people like Newton in responce to the needs of mechanics and physics.

The fact that the program is implemented by using " just addition, subtraction, multiplication" is irrelevant, because this is how computers (and mathematical numerical methods) work.

For many great mathematicians the difference between math and physics is almost non-existent. You may also read this guy, btw https://en.wikipedia.org/wiki/Vladimir_Arnold


I was simply correcting the notion that it's "not math." Understanding something like this can go one of two ways:

1. Reverse engineer it by playing with the code. This is, of course, the very ethos of these code share sites.

2. Learn the basics of physics & geometry on your own and come back to it.

Feel free to choose either method, but for the developer who is curious, option 1 is a lot faster.


Well, physics IS NOT math even if physics uses math as a tool.

Economics isn't math even if economics uses math all the time.

The rest of your comment is correct but irrelevant. He could (and should) go learn the physics he's lacking... but he would probably not learn a single new math concept.

The math needed to express these physics concepts is taught in secondary education (addition, subtraction, multiplication, vectors... not much more).


Physics is not math, true.

The "physics" he didn't understand in the code IS math, though. That's the point. Even if you know physics, you won't be able to understand the code without the math.


I could indeed reverse engineer by playing around, but it's unlikely I'd ever be able to independently produce something like that myself if I went down that path. I think both is the best, learn some theory, play around with it, rinse, repeat. That said, what areas of geometry and physics should I focus on? Any good online resources?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: