Skip to content

justinyaodu/javafx-fractal-raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaFX Fractal Raytracer

A simple raytracing program which renders still images and animations of 3D fractals and other shapes. This program is written in Java and uses JavaFX for its GUI.

Installation

Download the executable JAR file from here. This program (unsurprisingly) requires Java installed to run.

To start the program, simply open the downloaded JAR file, or execute java -jar javafx-fractal-raytracer.jar from the command line.

Screenshots and Animations

Screenshot of application with Mandelbrot4 rendered

Mandelbrot3 with shading Mandelbrot3 ghosted

Menger sponge zoom Tangent bubbles at increasing escape thresholds

Generated with apngasm and ffmpeg. 1080p videos available for download here.

Features

Implemented

  • Camera positioning, zooming, movement
  • Customizable color palette
  • Keyframe-based animation system
  • A variety of fractals and other interesting shapes to explore
  • Lots of configurable parameters
  • Shading and ghosting effects
  • Multithreading support

Todo

  • Animated help graphics
  • Help and about
  • Code documentation
  • More fun shapes!

Out of Scope (for this project)

  • GPU acceleration
  • Direct export of animated image or video files (apngasm and ffmpeg can help with creating these from the exported PNG files)

License

This software is licensed under the MIT License.

About

Flexible Java/JavaFX raytracer for 3D fractals

Topics

Resources

License

Stars

Watchers

Forks