Raytrace
Py-Raytrace is a simple ray tracing application that creates realistic images by simulating the behavior of light rays in a virtual scene.
Installation
You can install Raytrace using pip:
pip install py-raytrace
Usage
After installation, you can run Py-Raytrace from the command line:
ray
or
raytrace
or
py-raytrace
This command will launch the ray tracing process and generate a rendered image based on the provided scene and camera parameters.
Configuration
Raytrace allows you to configure the scene and camera parameters in the raytrace.py script. You can customize the positions and properties of spheres, lighting, and the floor to create different scenes.
Additionally, the script provides a graphical interface using matplotlib with sliders to adjust the camera angles interactively.
Dependencies
Py-Raytrace depends on the following Python packages:
numpy
Pillow (PIL)
tqdm
matplotlib
These dependencies will be automatically installed when you install Py-Raytrace using pip.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Pranav A: Github
Release files for py-raytrace 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py-raytrace-0.5.2.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_raytrace-0.5.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / py-raytrace-0.5.2.tar.gz
| Download URL | py-raytrace-0.5.2.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86ec1253974114ca5721ef484bc94428b582fa25ce85494e0e47987d3a6dbe15
|
|
BLAKE2b-256 checksum How to use checksums |
c5eb39f46a0d9294604a703cdf5f0c98f2ba1866fa89a55554a5af00b9a9938e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / py_raytrace-0.5.2-py3-none-any.whl
| Download URL | py_raytrace-0.5.2-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e15eab6af84e47d9a6724ad0b8a1b85906190dc6cd1df9653b65c12ae0ec025
|
|
BLAKE2b-256 checksum How to use checksums |
7308b274073910b0051658d17990cb06baae8a90a4a5c6c9a3778867e503c02e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|