Giter Club home page Giter Club logo

fractol's Introduction

fractol

Render the Julia Set, Mandelbrot Set, and more fractals in C using minilibx. (42 Silicon Valley)

Prerequisites

You are on macOS with gcc and make installed.

Compiling

make

Running

Display fractals at indices n ...

./fractol [n ...]

Fractals

  1. Mandelbrot Set
  2. Julia Set
  3. Burning Ship
  4. Burning Ship (Julia cross-section)
  5. Tricorn
  6. Tricorn (Julia cross-section)
  7. Mandelbrot ^ 3
  8. Julia ^ 3
  9. Mandelbrot ^ 4
  10. Julia ^ 4
  11. Mandelbrot ^ 8
  12. Julia ^ 8
  13. Mandeldrop
  14. Mandeldrop (Julia cross-section)
  15. Triplet Mitosis
  16. Triplet Mitosis (Julia cross-section)
  17. Hyperbolic Triangulum
  18. Hyperbolic Triangulum (Julia cross-section)
  19. Spiral Rose
  20. Spiral Rose (Julia cross-section)
  21. Elysian Veil
  22. Elysian Veil (Julia cross-section)
  23. Void Star
  24. Void Star (Julia cross-section)

Controls

Top-level Controls

  • Spacebar Reset view and options.
  • Escape Terminate all fractals.

Viewport Controls

  • Mouse scroll wheel Zoom in/out.
  • Drag LMB Translate viewport.
  • Arrow Keys Translate viewport.

Fractal Controls

  • Left Shift + Move Mouse Set C (for Julia types).
  • Left Control + Move Mouse Set Z (for Mandelbrot types).
  • + Increase max iterations.
  • - Decrease max iterations.
  • Tab Select next color scheme.
  • W Select next color-mapping function.
  • EToggle smooth coloring.
  • Q Toggle psychedelica.

fractol's People

Contributors

ashih42 avatar

Watchers

James Cloos 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.