Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cadenmarinozzi/SPARC

Repository files navigation

SPARC - Spacetime Analysis and Radiative Transfer Code

SPARC is a web based GRRT code designed for simulating and visualizing accurate, physically-based simulations of gravitational lensing and other relativistic effects.

Installation and Usage

To install SPARC, follow these steps:

  1. Clone the repository:
git clone https://github.com/cadenmarinozzi/SPARC.git
cd SPARC
  1. Install the dependencies:
npm install
  1. Configure your simulation

Edit the configuration files in the src/config directory to set up your simulation parameters.

  1. Start the reload watcher and server:
npm run watch & npm run dev
  1. After the simulation is finished, download the frames and convert the output images to a video if desired:
node scripts/imagesToVideo.js <path_to_downloaded_frames> <output_video_path> <framerate>

About

SPARC - A Web Based Spacetime Analysis and Radiative Transfer Code

Topics

Resources

Stars

Watchers

Forks