3 ms·
Particle Based Physics Engine in Golang
- rudransh61 2y agoHi I am a higshchooler from India , I just made a physics engine please tell your ideas or feedback to improve it , I actually wanted to make this product successful. I understand the spirit of opensource and want to contribute to this society.... please leave a star if you like or feedback if you dont , I am soo happy finally after a year of learning all those stuff I made this , also I am terrible at code , so i used ai for that (not everytime) and my physics and maths skills for logic building and improvements.... I am new to this , please any advice can help me .... Thanks for reading and giving your precious time to me .....
- mecsred 2y agoNice work! I like that you put lots of examples in the readme for people to get an idea of the engine right away. It looks great and I hope you enjoyed building it!
- porridgeraisin 2y agoI would cut down a little on the AI usage, it might be getting a little too ahead of you. While it's completely fine to ai generate your own physics engine for learning or whatever, I noticed your PR to google/metrax which seemed AI generated -- that's not the best thing to do, especially when you're not able to tell that the AI output for that PR was completely off-base.
- rudransh61 2y agook i will keep that in mind , i just use ai because im terrible at formatting and naming , but i will work on those skills and cut down its usage as more as i can .... thanks for giving advice , i will work on my problems and become a better developer (ihope)...
- ForTheKidz 2y ago> There are only two hard things in Computer Science: cache invalidation and naming things. -Phil Karlton Let the tooling figure out the formatting, just sweat the syntax. And build whatever you can!
- deleted 2y ago[deleted]
- seanhunter 2y agoWell congrats firstly. Secondly, my advice would depend on where you want to take this. If you want to develop your physics and maths, you would learn a lot by adding some more types of vector. For example, you could add 3D vectors. I would do them in Cartesian (x,y,z) form first but you'll really learn a lot when you add spherical and cylindrical form. Cylindrical form is also identical to the other main 2D form for vectors (polar)[1]. Spherical coordinates are very useful for modelling certain vector fields (eg gravity) that are spherically symmetrical. Cylindrical coordinates are useful for things like the temperature distribution around a hot pipe or something like that. Polar coordinates are great for representing rotating systems, which will be a real challenge but you will learn an incredible amount from. To get the background knowledge, I would check out MIT8.01 Mechanics online[2]. It is really excellent and you will learn a lot from it. Some of it you may find hard, but it is deliberately formulated so doesn't have any really advanced maths prerequisites (eg differential equations are kept to a minimum) and the presentation is really clear so if you're motivated you should learn an amazing amount. There is a free textbook included in the course website which covers all the underlying maths. [1] Cylindrical form just has a z coordinate. If you set that to 0 it is effectively Polar in the x,y plane. [2] https://ocw.mit.edu/courses/8-01sc-classical-mechanics-fall-2016/ https://ocw.mit.edu/courses/8-01sc-classical-mechanics-fall-...
- rudransh61 2y agothanks for suggestion , dont worry i have a great background in maths and physics, an olympiad student (top 40 in country in just grade 10) so dont worry about that , i have learned a lot of maths and physics at great depth and understanding... I will try to implement more thank you
- thecleaner 2y agoWhat are they teaching in high schools these days that people can do this ? Well done and congratulations on the release.
- pjmlp 2y agoNice work, kudos. Interesting to see Go getting some game development love.
- rob74 2y agoNot sure if you're aware of it, but there's even a game engine written in Go that has been used for a few commercial titles: https://ebitengine.org/en/showcase.html https://ebitengine.org/en/showcase.html
- ergonaught 2y agoThis project uses Ebitengine, itself.
- pjmlp 2y agoYes, it is relatively nice.
- rudransh61 2y agooh great , I will take look at others project and try to improve thanks
- zeroq 2y agoThe ususal question - why would I want to use it instead of Box2D?
- guywithahat 2y agoBecause this one is in Go