Skip to content

kicsipixel/GasLaw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GasLaw

masOS project about Ideal Gas Law for SwiftUIJam

This SwiftUI macOS app models the Ideal Gas Law in a engine cylinder.

screenshot

Our starting point:

  • Atmospheric pressure, 101.325 kPa
  • Volume of a cylinder, 400 cm3
  • Room temperature, 20ºC

These values are added in Constants/Units.swift

The gauges drawings were made in Figma, imported into PaintCode as .svg. The drawing codes can be found in Views/Gauges.swift.

To show the drawing code NSRepresentableView is used.

These two Stackoverflow articles helped me:

About

#SwiftUIJam project about Ideal Gas Law

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages