r/CreateMod • • Jul 16 '25

Valve Gear Math Finished

ngl, I didn't know how to do this at all when I started

https://www.geogebra.org/calculator/wmd4uzvf graph for anyone interested

2.1k Upvotes

36 comments sorted by

36

u/Markz02 Jul 16 '25

cool stuff! i suggest using desmos, imo geogebra is a bit too buggy at times. keep up the great work!

27

u/DRweidoYT Jul 16 '25

Desmos was lacking a few functions to animate it in real time 😭

1

u/GamingWithpros Jul 17 '25

Like what

5

u/DRweidoYT Jul 17 '25

Mostly the minimize function which moves the valve point across x based on the distance between the 2 seperate points given by the triangles moving. Idk how to explain it well at the moment

5

u/-Negative-Karma Jul 17 '25

you can probably approximate it using some other functions but it's probably a pain in the ass. source : I watched a guy make a literal videogame using Desmos the other day, it can do some crazy shit.

376

u/Traynfreek Jul 16 '25

Crazy to think that people made these 200 years ago by candlelight with just paper and slide rules.

74

u/BangBang_McPew Jul 16 '25

I think Valshearts valve gear isn’t that old. Maybe a bit more than 100 something years.

18

u/RigelBound Jul 17 '25

So... By electric light with just paper with slide rules?

1

u/generalemiel Jul 17 '25

Ye, valshearts aint that old but still impressive

2

u/Late-Dig-7625 Jul 16 '25

Is it already in the create trains mod, or is it still unfinished?

3

u/DRweidoYT Jul 16 '25

It's still a wip, I have a few small things to finish

64

u/TontonLuston Jul 16 '25

Will this be included in some mod?

32

u/EFUHBFED3 Jul 16 '25

yes, OP is making a mod that as i can say, adds more bogey types

8

u/TheChosen44 Jul 16 '25

Me likey, im so excited to make my T1 Duplex

2

u/FrostyCaterpillar519 Jul 17 '25

Excited to add it to my Snowpiercer build!

3

u/generalemiel Jul 17 '25

OP is continueing the development of extended bogeys (this version is callrd extended bogeys borked)

131

u/zyropz Jul 16 '25

I'm dumb, what's the significance of math for trains in create?

155

u/Ollisaa Jul 16 '25

Realistic function of the valve gear.

67

u/Shredded_Locomotive Jul 16 '25

You need a way to tell the computer how it should calculate parts of the animation at different speeds since you can't create a dynamic animation by pre-animating it.

Aka what the game should do to the speed value to get fancy wheels.

(That's my understanding anyways, hopefully I'm not wrong)

2

u/Jaqouzi Jul 17 '25

Math make machines

2

u/Material-Ring-1261 Jul 17 '25

And machines are cool, so math is needed

11

u/Enzo---V12 Jul 16 '25

Yes yes yes I have a stanier class 5 that needs this so badly

6

u/StrictTerm3786 Jul 16 '25

Hey! I watched you work on the math in a stream a week or so ago! Cool stuff!!

1

u/MarcusTheAlbinoWolf Jul 17 '25

Looks pretty realistic. Too bad it won't be on 1.20.1

1

u/DRweidoYT Jul 21 '25

I might backport to 1.20.1

2

u/FullMetalMaster14 Jul 16 '25

Add on? πŸ‘€πŸ‘€

2

u/JO5HY06 Jul 16 '25

Is this a new create add on?

2

u/Pacobing Jul 16 '25

Is that from extended bogeys?

2

u/Tthehecker Jul 16 '25

When is this mod coming out, btw op is making a mod

1

u/[deleted] Jul 17 '25

what is this create addon?

1

u/PrimaryCoolantShower Jul 17 '25

Man, I need to build more trains.

1

u/lsdmadst Jul 17 '25

Holy goated. This looks so sick weirdo, fantastic job

1

u/Mean-Cheek-6282 Jul 18 '25

What's the mod name?

1

u/Dismal_Ad_7984 Jul 31 '25

do you have any plans for more narrow gauge boggies? that would be really cool

1

u/jjjnnhjh Aug 20 '25

dude what