This program renders any function that takes an x-y coordinate in world space and outputs a pixel. It also lets the user move the camera to explore the render space.
2D-function-viewer-quad.mp4
julia_mp4.mp4
(x.sin() + y.sin()) / 2.0
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This program renders any function that takes an x-y coordinate in world space and outputs a pixel. It also lets the user move the camera to explore the render space.
(x.sin() + y.sin()) / 2.0