Skip to content

Commit

Permalink
Update README.md (#98)
Browse files Browse the repository at this point in the history
Removed outdated sample code.
  • Loading branch information
MasanoriKanamaru authored Nov 9, 2023
1 parent 1c52fec commit 4117ee7
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,3 @@ Based on orbit, spin, and 3-D shape, you can calculate the distribution of the s
Distribution of surface temperature on asteroid Ryugu. The color map ranges from 200 to 400 K.

![Thermophysics_Ryugu](https://user-images.githubusercontent.com/21192162/149468024-f403011f-b3d3-47ce-a69c-7daf78a40658.png)

## Start to play
Let's visualize a shape model of asteroid Ryugu.
Please download a Ryugu model from AsteroidThermoPhysicalModels/test/ryugu_test.obj.

```julia
using AsteroidThermoPhysicalModels

shapepath = "ryugu_test.obj" # Path to the shape model
shape = load_shape_obj(shapepath; scale=1000, find_visible_facets=true)

draw(shape)
# draw(shape, data=:radius) # Radius of each surface facet
# draw(shape; data=:illumination, r̂☉=[1,0,0.]) # Illumination when the Sun is in the direction of r̂☉
```

<img width="300" alt="start_to_play" src="https://user-images.githubusercontent.com/21192162/148867940-21db4a00-8aef-4030-ab94-397d4f3b572c.png">

0 comments on commit 4117ee7

Please sign in to comment.