GithubHelp home page GithubHelp logo

izcet / fractol Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 17.07 MB

My first buffered graphics project, a fractal renderer.

Makefile 0.92% C 88.28% Roff 4.94% Objective-C 5.86%
fractal julia sierpinski mandelbrot graphics colorful

fractol's Introduction

WARNING: This may potentially trigger seizures for people with photosensitive epilepsy. Viewer discretion is advised.

The running executable, not this readme.

Fractol

A fractol visualization project as part of the core curriculum at 42. It uses multithreading and a custom OpenGL library to calculate and render images. The current source will compile on MacOS El Capitan, although a zip of the sources for compiling on X11 systems is included.
GIFS!: X X X X

Fractals included:

Julia

Julia Set Fractal

Mandelbrot

Mandelbrot Set Fractal

Mandelcube

Mandelbrot Cubed Set Fractal

Juliacube

Julia Cubed Set Fractal

Sierpinski Triangle

Sierpinski Triangle Fractal

Bad Julia

Not a unique fractal, but an error in the base Julia set that still mutates during zoom and translation, when it normally shouldn't. I kept it in the project as a bonus because it looks hella cool. Julia Set Fractal

Color Palettes included:


Features included:

Any and all of these can be adjusted live in combination with each other.

  • Zoom in/out on a point with mouse scroll.
  • Translate x and y with arrow keys.
  • Cycle through the current color palette with D and F. (Epilepsy Warning on this feature)
  • Change the color palette with A and D.
  • Increase and Decrease the number of iterations with left and right click.
  • (Julia Type Only) Live recalculate the fractol based on the mouse position.
  • (Julia Type Only) Freeze / Resume motion.
  • (Sierpinski Only) Display all steps, not just the last iteration. Sierpinski All Iterations

Tools used to generate the colors

fractol's People

Contributors

izcet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.