Giter Site home page Giter Site logo

Comments (6)

chakravala avatar chakravala commented on May 26, 2024 1

In the latest commit of v1.1.1 of Fatou the UInt8 limitation has been replaced with UInt16 now, along with Makie support in addition to the existing PyPlot and ImageInTerminal functionality.

I expect you to pay me by sharing some beautiful or interesting fractal images as reproducible Fatou code snippets.

from fatou.jl.

chakravala avatar chakravala commented on May 26, 2024
  1. Yes, it specifies the horizontal pixel (vertical depends on the shape of the rectangular domain).
  2. Yes, N is UInt8 with 256 values, this is very convenient for making color images, which use the same range of values. This does restrict the number of iterations possible, otherwise a mapping from iteration count into UInt8 would also be required.

from fatou.jl.

VasanthManiVasi avatar VasanthManiVasi commented on May 26, 2024

Shall I send a PR for the mapping from the number of iterations to UInt8? It would be a normalization from (0, num_iterations] to [0, 255]

from fatou.jl.

chakravala avatar chakravala commented on May 26, 2024

@VasanthManiVasi you are welcome to make a PR if you want, although I might change it around to suit my own style. For something super simple like this, I am willing to implement it myself for you also if it's desired.

Also, I'm not sure I want to normalize all iterations less than 255, so if you only go up to say 35 iterations, then I don't want the output necessarily to be normalized to 255, I want it to stay at 35 if preferable. Once it's over 255, it will need to be normalized.

from fatou.jl.

VasanthManiVasi avatar VasanthManiVasi commented on May 26, 2024

Sure, please do! I'd love to run it for more iterations than currently supported!

from fatou.jl.

chakravala avatar chakravala commented on May 26, 2024

Now v1.1.1 is officially registered by the way.

To address @Liukangmk original question about performance, in Fatou I am making use of Julia's parametric type compilation features with the Fatou.Define instances, which contain parametric type information to help speed up generated code. This allows the generic Fatou.orbit method to be custom compiled as fast as possible for each fractal specification.

from fatou.jl.

Related Issues (10)

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.