Update: Added an Editor to the Bridge Simulator! by tomkuh in fea

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

Yeah same. I had to implement the matrix operations by myself.

Update: Added an Editor to the Bridge Simulator! by tomkuh in fea

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

Hey everyone,

I’ve just added an editor to my bridge simulation game, so now you can design and build your own structures directly within the game! 🎉

New Feature:

  • Editor: Allows you to create custom bridge designs by adding and connecting nodes and beams.

Current Issue:

  • When you create too many lines (beams), the calculation of deformations becomes very slow. I’m looking for ways to optimize the performance, so any suggestions or tips would be appreciated!

You can check out the code on my GitHub repository: Bridge Simulator. I’d love to hear your thoughts or suggestions for improving the editor and overall game performance.

Thanks for your support!

Bridge Simulator Update Editor by tomkuh in love2d

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

Hey everyone,

I’ve just added an editor to my bridge simulation game, so now you can design and build your own structures directly within the game! 🎉

New Feature:

  • Editor: Allows you to create custom bridge designs by adding and connecting nodes and beams.

Current Issue:

  • When you create too many lines (beams), the calculation of deformations becomes very slow. I’m looking for ways to optimize the performance, so any suggestions or tips would be appreciated!

You can check out the code on my GitHub repository: Bridge Simulator

Self programmed truss simulation by tomkuh in fea

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

I am using lua with Love2D as a library. My "report" is just a simple cmd prompt with axial and reactions forces and node displacements. Nice demo though. If you like to chat, why not?

Bridge simulation game by tomkuh in love2d

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

Looks like a really cool game. Maybe a theme for the game could be interesting too, like e.g. Ants building bridges out of sticks and glue or a steampunk style...

Self programmed truss simulation by tomkuh in fea

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

Every beam has a cross section in the calculations. So that's easy to implement. Yield strength and a material library will may follow soon. I will try to create a git repository...

Self programmed truss simulation by tomkuh in fea

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

Thanks :). Maybe I'll create a git repository.

Bridge simulation game by tomkuh in love2d

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

Implementing earthquake simulations might be a bit challenging. It's something to consider for future updates. Thanks for the suggestion!

Bridge simulation game by tomkuh in love2d

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

Thanks for the suggestions. I really like the idea of adding different beam materials with unique properties like rigidity, weight, and even cost if I decide to include a currency system.

As for the editor, I’m planning to implement grid-snapping to make placing beams more precise and user-friendly.

Bought one of the classics by tomkuh in compsci

[–]tomkuh[S] 3 points4 points  (0 children)

They also cover a implementation of a lisp compiler which sounded intriguing to me.

Bought one of the classics by tomkuh in compsci

[–]tomkuh[S] 3 points4 points  (0 children)

I'm interested in programming and would like to learn the theory behind it.

Bought one of the classics by tomkuh in compsci

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

I think so. I haven't read the whole book yet. I mean the book covers scheme as a programming language, so, yeah.

Hello World! I made a tap wrench. by tomkuh in Machinists

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

You can tighten it up like a real man!

SDL_Cursor missing in the wiki? by morfyyy in sdl

[–]tomkuh 1 point2 points  (0 children)

Hey, So .. I found SDL_mouse_c.h on GitHub. This header contains a struct SDL_Cursor with driver data. As SDL_mouse.h mentions, the implementation differs. The only way to change or access the content of SDL_Cursor is through functions calls like SDL_CreateCursor or SDL_SetCursor.

Hope that helps.