An open API service indexing awesome lists of open source software.

https://github.com/ponup/php-raytracer

Raytracer written in PHP+GD
https://github.com/ponup/php-raytracer

cgi php raytracer

Last synced: about 1 month ago
JSON representation

Raytracer written in PHP+GD

Awesome Lists containing this project

README

          

PHP-Raytracer
=============

Ray tracer written in PHP using the GD library. This was inspired by an [article](https://bheisler.github.io/post/writing-raytracer-in-rust-part-1/) I read about writing a Ray tracer in Rust.

## Example image

![Ray traced scene](scene.png)

## Requirements

* PHP 8.1
* GD extension
* Composer

## Usage

```shell
composer install
php main.php
```