Physics & Chemistry Sandbox
- 11 Devlogs
- 56 Total hours
A physics & chemistry sandbox (or simulator) written in Python which is based on Newtonian mechanics, basic chemistry principles and more!
A physics & chemistry sandbox (or simulator) written in Python which is based on Newtonian mechanics, basic chemistry principles and more!
Well, we are really getting to the end of the project and Stardance; tomorrow might be the last devlog (if not, then saturday) but however, it has really been a pleasure to share my work with you guys. As I said yesterday, I managed to finish all the launcher-simulation interfaces and added actual images to the whole launcher (thumbnails and simulation previews). Only the launcher settings, credits tab and all the shipping procedure things (adding some comments on the code, README, packaging, project description) will be left to do. I am going to keep the devlog short, so here’s the list of what I’ve done today:
The only thing that made me lose a bit of time was, as yesterday, the bugs concerning data conversion and formatting from the simulation configuration values .json file but: I managed to get everything working.
Thanks, as always, for reading my devlogs; I really appreciate it.
I am really proud of what I’ve achieved today; in fact, I managed to establish the interface between the first 4 physics simulations and the launcher. If I am this proud, it’s because the Planet Orbits simulation works pretty good and it was the hardest one to make, so: the remaining interfaces will actually be easy. The end of Stardance is approaching, so I’ll keep the devlogs very short in order to work on the final touches of the launcher but they will still be complete. If you want to see what I’ve done in detail today, here’s the list:
I really had to fix a lot of bugs concerning the extraction and conversion of the data from the .json file, especially for the Planet Orbits simulation. However, I managed to make everything work correctly.
I’ll try to finish the interfaces left and get to the final fixes of the launcher to ship the project as soon as possible.
Thanks for reading my devlogs, it really means a lot to me.
I think that a lot of progress has been made today; in fact, I’ve managed to finish the Solution Maker simulation and only 3 molecules are left for the Molecular Lab. We are really getting to the end of Stardance, so I’ll try to finish the molecules left as fast as possible and work on the launcher-simulation interface, README file, refining the overall launcher as well as exporting it. With the time left, I doubt that the 4 other chemistry simulations (for reference, the Reaction Lab, Combustion, Smoke and Atom Collision simulations) and the Fluid Simulation will be made because they require a lot of time. With everything said, here is the detailed list of the things that I’ve done today that I summarized to keep it short:
I really had to do a lot of debugging today (functions to change the alpha channel value of the solute particles) but hey, it works now.
Don’t worry about the future of this project; even if Stardance ends really soon, I’ll keep working on it to make it better and offer the whole thing.
Thanks for taking the time to read these devlogs, it really means a lot to me.
Today, I didn’t have as much time as the previous days but I still managed to finish a chemistry simulation (for reference, the Bohr Atomic Representation simulation).
Since this is the only simulation that I’ve made today, there will not be a lot of things to say so I’ll try to make it short for you. If you want to see the things that I’ve done in detail, here is, as always, the list:
I think that I’ll finish the chemistry simulations and the Fluid Simulation tomorrow to get started on the launcher-simulation interface and fixing some features. After doing that, only the Place and the other launcher buttons (maybe other fixes) will be left to make.
Thanks for taking the time to read my devlogs, I really appreciate it.
As always, a lot of work has been done around the physics simulations; in fact, I’ve finished them all (except the Fluid Simulation for reasons that I’ll explain here). The simulations finished today are the Refraction and Temperature Simulations. If you are interested in the work that has been done, here is the list:
If I didn’t make the Fluid Simulation as of now, it’s because I don’t know if I’m going to use the simple method (springs connected to each other to simulate waves propagating) or the complex method (using Navier-Stokes equations to simulate the fluid’s motion, pressure, diffusion and external forces). I will see how much time I can allocate for this simulation and decide.
Again and as always, thanks for taking the time to read my devlogs and supporting me.
Today, I got a lot of work done around the physics simulations; in fact, I managed to finish the Spring Simulation, the Planet Orbits Simulation, the Gravity Simulation and started working on the Refraction Simulation. This means that only 2 (or 2 and a half) physics simulation are left (for reference, a little bit of the Refraction Simulation as well as the Fluid and Temperature Simulation).
The simulations made today being a little bit more complex than the previous ones, albeit very fun to make, I will summarize everything to make it as simple as possible. Enough talking, here is the list:
For those that might be asking: I did not use OOP for the planet creation function in the Planet Orbits simulation because I didn’t want to use it for this project.
I hope to finish the physics simulations tomorrow and start working on the chemistry ones.
As always, thanks for supporting my project; it really means a lot.
Yesterday, I hoped to finish the configuration tabs of the last chemistry simulations but guess what? I didn’t finish them. You might be asking yourself: “Why?”
Well, I decided to start working on the simulations in Pygame rather than spending more time on the last 4 configuration tabs; I think that it is more efficient and less time consuming. In fact, I’ve finished the 2 first physics simulations (for reference, the Projectile and Pendulum simulations) and the result is actually pretty neat; the simulations are based on real physical properties and they seem to work really good. If you want to see the things that I’ve done in detail today, here is, as always, the list:
I have to admit that I stumbled across a lot of bugs today when trying to implement the 2D vectors for the first simulation (velocity, gravity, total force which is equal to the sum of the gravity and drag force) so I decided to use another method without these vectors. However, I will probably implement the vectors in the future (as you can see on a comment of the code) because they are simpler to use.
Finally, I will continue working on the simulations and after finishing them, the 4 configuration tabs left will be done.
I really appreciate the support received by reading the devlogs that I post and liking them; I hope that you, the person reading this, know that it means a lot for me.
As I said yesterday, I hoped to finish the configuration tabs for all the physics and chemistry simulations. Well, guess what? I almost managed to finish them all; in fact, only 4 of them are left (Reaction Lab, Combustion Simulation, Smoke Simulation and Atom Collision). I have to admit that making the configuration tabs takes a lot of time, but I guarantee that it will be worth the wait. If you want to see what I did in detail today, here’s the list:
This time, I stumbled across some minor bugs that were irritating (having to move multiple elements by a fraction of a pixel just to align them) I am actually surprised that I didn’t have any considerable bugs or inconveniences to fix but: I really hope to finish the configuration tabs of every simulation tomorrow once for all in order to get started with the making of those simulations. In the future, I will also add labels describing the initial and final values of the sliders as well as labels to monitor their values.
As always, thanks for spending a bit of your time to read my devlog, I really appreciate it.
I think that today has also been very productive; in fact, I finished 6/8 configuration tabs (or windows) for the physics simulations. In addition, I also managed to get more things done (even if making the configuration tabs is long, I really appreciate the process) that I summarized in this list:
Something that made me waste a bit of my time today was the fact that I didn’t use a method (fancy word for a function in Python) correctly.
Besides that, I hope to finish the configuration tabs for the last two physics simulations as well as the chemistry ones tomorrow to finally get started on the making of the simulations.
Thanks for taking the time to read this, it really means a lot for me to know that my work is being taken into consideration.
I worked on a lot of core features to the launcher of the sandbox today; here is what I did in detail:
I didn’t have to fight against a bug today, but we’ll see tomorrow.
Thanks for taking the time to read this.
Hello everyone, first time writing here. What did I do today? Well, I began working on the launcher of my sandbox-simulator. To sum everything up, these are the things that I’ve worked on:
Even if I spent some time trying to get the buttons to change the tabs without display bugs, the core of the launcher has been made.
Last but not least: why did I make a launcher for the sandbox?
I always liked the “ImGUI” style interfaces for custom C++ apps (for example, the modded versions of some games) because of their simplicity.
Thanks for stopping by to read this and see you on the next devlog.