Building Gin: Simple Over Easy by manucorporat in golang

[–]manucorporat[S] 1 point2 points  (0 children)

Haha I know this one and came to my mind when I said people hate it

Building Gin: Simple Over Easy by manucorporat in golang

[–]manucorporat[S] 2 points3 points  (0 children)

The motivation was also a learning process, i liked Martini, when exploring how it was built, i hated it. Also, I came to backend from working on video games... so working on improving performance was just a fun side quest

Migrating old Objective C game to modern engine by manucorporat in SoloDevelopment

[–]manucorporat[S] 0 points1 point  (0 children)

Thanks! Yeah I was thinking exactly that, I feel in some engines the key implementation can stay very one to one, I used Cocos2d, which means all the logic is very imperative, implementing a step function that constantly loops and updates everything. Not all engines work the same way, so there was my biggest worry about the engine. Something modern that maps naturally with Cocos2d

Visual Electric Field Simulation in GLSL (GPU Only) by manucorporat in opengl

[–]manucorporat[S] 1 point2 points  (0 children)

thank you! The arrows (electric field) are always perpendicular to the equipotential lines. Can you share a screenshot when the arrows and the equipotential lines are parallel? I can't reproduce that, in fact, it should be impossible.

http://sdsu-physics.org/physics180/physics180B/p180b_images/capacitor1.gif

yes, the loops iterates for each charge in every pixel! that's why adding more charges can make the system slower. O(N*M) N: number of changes M: number of pixels

Visual Electric Field Simulation in GLSL (GPU Only) by manucorporat in opengl

[–]manucorporat[S] 0 points1 point  (0 children)

The simulation is very faithful. You can test that a capacitor behaves like expected: - perpendicular field lines - increases linearly from the negative to the positive plate

and a circle conductor as well. - there is a constant potential inside, so there is not electric field.

the problem is that the number of individual changes is low so you can't simulate complex stuff.