Answer the question
In order to leave comments, you need to log in
Choosing a programming language for modeling physical processes?
Good evening, comrades!
As a student at the 3rd level of our higher education, there is a need to write several models.
The main thing is that the result is visual and cross-platform. So that running on any computer does not cause any particular difficulties.
From here the question is: what is the best programming language to choose, so that it is easier to visualize physical processes for presentation in physics lessons at school, for example, a body falling at an angle to the horizon, with a change in the parameters of the formula. Bulky mega-models, this is not necessary of course)
Actually, I probably confused you :) I just need advice, in what language "this" would be fun to program?
While the eye lies on Python, but I don’t know how it will cope with this task? And Flash seems to have bored everyone.
Looking for advice and recommendations! Thank you!
Answer the question
In order to leave comments, you need to log in
Javascript for example.
All sorts of models are also written on it ( codepen.io/suffick/pen/KrAwx ).
Another option is to use Wolfram SystemModeler or some other special tool for mathematical modeling. Such programs already know how to draw graphics and animation. Ready models can be exported, including for Web.
Depends on the complexity of the models. If you want to demonstrate school-level tasks, then python + numpy + pygame will allow you to create such an application very quickly. Creating an application that does not require the installation of python and libraries for it is quite possible. However, most likely this will have to be done for each OS separately (the code itself, of course, will be cross-platform).
HTML5 + JavaScript is a good option. If you need something desktop, then pygame will do. And if you continue to look in the direction of game engines, then even Love2D is possible. Lua is a very good language.
Sergey Lerg Vit If you take html + js, then I dug around and found, in principle, an excellent three.js framework. Who worked with him? The creation of physical models requires that the user be able to change some physical quantity, and this actually provoked a new state of the observed. In three.js, I have so far seen only visual beauty, as in general in js. I didn't see anything that could be changed. Is it possible?
With js, you are still on it, but I think there is time to pull it up.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question