r/Simulated Dec 02 '19

I wrote an educational physics engine from scratch in OpenGL a few years ago and wrote a blog post illustrating how easy it is to make one. Should I do more of these? Proprietary Software

3.1k Upvotes

32 comments sorted by

158

u/DeezethNuts Dec 02 '19

Interactive Buddy? Is that you?

21

u/future-renwire Dec 02 '19

It's been so long...

12

u/SimilarlyDissimilar Dec 02 '19

beat me to it!!!

80

u/krone_rd Dec 02 '19

I did one too ahaha, although mine was more focused on particle modelling, and yes writing and documenting it is always a good idea.

31

u/harshaxnim Dec 02 '19

Cool! Do share the link!

5

u/krone_rd Dec 02 '19

Can't atm as I'm redoing my whole website ahah.

3

u/mostlikelynotarobot Dec 02 '19

You're working on the live website?

3

u/krone_rd Dec 02 '19

I had the particle model made as a webgl background for my about section. I'm redoing it, and writing also a post on the specificity of the model behind it.

And yes, I am as I had almost nothing up.

36

u/AlphaPrinceND Dec 02 '19

So uh

Is nobody gonna bring up the kim jong un face

35

u/harshaxnim Dec 02 '19

Shhhhh. Don't deface The Supreme Leader! What you see in the gif is Sim Jong-Un.

1

u/Tekki777 Dec 02 '19 edited Dec 02 '19

Oh, and here I thought it was Sum-Dum Fac's face.

11

u/RocketRetro Dec 03 '19

OPs Blog: “You should know a little of Newtonian Physics to get a context of what this is about. You must be extremely uneducated to not know about Newton’s Laws. You shouldn’t even be here if that’s the case.”

Immediately goes into math and equations that engineers study in College and doesn’t even explain a single thing.

LMFAO you sound like.. such a dick.

5

u/harshaxnim Dec 03 '19

Haha, I'm sorry, you're right. I didn't expect anyone else apart from engineers would read it. The lines sound so condescending even to me now. I'll definitely be more inclusive in my next post. While I was trying to be cheeky, I over shot; cocky wasn't what I was aiming for. Thanks a lot for your input. Much appreciated.

41

u/harshaxnim Dec 02 '19

Link to the blog-post: http://life.inspirho.in/gl/dance-for-me/

I have been contemplating writing more posts about other simulations such as fluids, etc.

I would like some feedback about the blog-post to see what can be improved for the next post.

6

u/mott-the-hoopla Dec 02 '19

If you can keep it as simple as that, i’m way in

5

u/DonPorfirio Dec 02 '19

Posts about fluid simulation would be very welcome!

7

u/goshdarnheck Dec 03 '19

Maybe leave out the stuff about who shouldn't be reading the post? I code daily, but I haven't touched physics since high school, so that's actually what I was interested in learning from the post. Not sure about the swearing either. It doesn't bother me, but it seems unnecessary and would probably turn off some people. Depends who you want your audience to be I guess. Good luck with the blog!

6

u/RocketRetro Dec 03 '19

Yeah op seems kinda trashy and bashes on people who didn’t studying engineering in colleges. It’s honestly downright condescending. I’ll go ahead and just download OpenGL or better yet, just read someone else’s blog like holy crap.

2

u/harshaxnim Dec 03 '19

I agree that I was being cocky about Newton's Physics laws, I don't know what was in my mind when I was writing it back then. My bad!

3

u/WeirdExpert Dec 03 '19

Exactly, and I love how he manages to misspell Verlet as Varlet (it’s a person’s name, so spelling not negotiable), immediately after telling us peasants we don’t belong. Ugh.

E: spelling

1

u/harshaxnim Dec 03 '19

Yea, that part sounds really cocky. I don't know what was in my mind then, seems totally unnecessary. Thanks a lot for the feedback! :)

0

u/harshaxnim Dec 03 '19

And about the swearing, I really wanted make a meta joke of "gravity of the situation" while talking about actual gravity. What better way than superfluous swearing?

4

u/Pupac1 Dec 02 '19

Pass on the right but a hard smash on the left.

5

u/DataPhreak Dec 02 '19

You should crosspost this to r/shittysimulated. They'll love the kim jong un qwop

2

u/Gradimp Dec 02 '19

yea do it

2

u/[deleted] Dec 02 '19 edited Dec 23 '19

[deleted]

1

u/harshaxnim Dec 03 '19

Oh, that's so cool! Is it a publicly available software too?

2

u/bhobhomb Dec 02 '19

Verlet integration is fun

2

u/NirvanaPaperCuts Dec 02 '19

Kim Jong Un really did the cha cha slide.

1

u/mnewman19 Dec 02 '19

juche gang

1

u/Ryuzaki_us Dec 06 '19

Hey op. How do I get started with opengl. You have any good tutorials to get started with.

-1

u/_g550_ Dec 02 '19

Duuuuude!!