I want to use The Powder Toy (I'm a beginner) and it's Lua api to take in simulation states and properties to train a NEAT topology model teaching it Thermodynamics...anyone got idea how to go about doing it and/or resources...??
I can't help you with any of the machine learning, but the APIs you're looking for are the simulation APIs.
https://powdertoy.co.uk/Wiki/W/Lua_API:Simulation.html
The methods/fields of interest for reading the simulation state are simulation.parts (to enumerate particles), then simulation.wallMap, simulation.velocityX/Y & .pressure to read the air state
will that help to find out the statistical properties of the system? Just asking!!