🌎
Axinite
CtrlK
  • Welcome!
  • Axinite
    • Getting Started
    • Simulation Parameters
    • Bodies
    • Functions
      • Measurements
      • Body Functions
      • Math Functions
    • Backends
    • Actions and Modifiers
  • axtools
    • Quickstart
    • AxiniteArgs and the Body Class
    • Template Files
    • Frontends
    • Functions
      • Read and Load
      • Live, Show and Run
      • Plotting Functions
      • Other Functions
    • Guides
      • Rocket Launch
        • Setting up your Template File
        • Setting up your Script
        • Loading and Watching your Simulation
      • Solar System
        • Writing the Initial Template File
        • Calculating the Longest Orbital Period
        • Loading and Viewing your System
  • axutils
    • Quickstart
  • AXANA
    • Overview
    • Interceptions, Intersections and Orbits
    • Quaternions and Angles
    • Energy and Momentum
  • axcli
    • Overview
    • Commands
      • New, Read, and Catalog
      • Load and Run
      • Live and Show
    • Guides
  • API Reference
    • Functions
Powered by GitBook
On this page
  1. axtools
  2. Guides
  3. Rocket Launch

Loading and Watching your Simulation

After setting up our modifier, we can now load and watch live with:

args = axtools.read("examples/rocket-launch.tmpl.ax")
args.modifier = modifier
bodies = axtools.load(args, verbose=True)

Then watch it with:

axtools.live(args, axtools.vpython(args, "live"))
PreviousSetting up your ScriptNextSolar System

Last updated 7 months ago