Skip to content

Real time photon tracing -- pretty images -- of a spinning Kerr blackhole

Notifications You must be signed in to change notification settings

KiwiRobbie/bartholomuegh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bartholomuegh

But you can call me barty!

barty

A blackhole rendering project written in rust.

Compiling

Local

cargo run --release

Web

First, install install wasm-bindgen and run the following:

cargo build --release --target wasm32-unknown-unknown
wasm-bindgen --out-name barty \
  --out-dir web \
  --target web target/wasm32-unknown-unknown/release/bartholomuegh.wasm

Then add the following to a html file:

<script type="module">
  import init from './barty.js'
  init()
</script>