Skip to content

Commit

Permalink
[doc] Use automatically generated preview image
Browse files Browse the repository at this point in the history
  • Loading branch information
RangHo committed Jun 2, 2023
1 parent 920fdda commit e208360
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,23 @@
Simple path tracer written in PowerShell, based on [Raytracing in One Weekend][1]
online book.
Currently, the output image looks like this:

<div align="center"><img src="output.png" /></div>
Currently, this repository can generate the following image:

<p align="center">
<img alt="Preview image" src="https://github.com/RangHo/powershell-raytracing/blob/result/output.png?raw=true" />
</p>

This image was created using the follwing command every commit made to the `main`
branch:

```powershell
Import-Module .\Sources\PSRaytracing.psm1
Invoke-Raytracing `
-ImageWidth 640 `
-ImageHeight 360 `
-OutputFile "output.png"
```

## Why PowerShell of all things

Expand Down
Binary file removed output.png
Binary file not shown.

0 comments on commit e208360

Please sign in to comment.