Giter VIP home page Giter VIP logo

flam3_animation_generator's People

Contributors

akotlerman avatar

Stargazers

 avatar

Watchers

 avatar  avatar

flam3_animation_generator's Issues

Feature Request: Support ranges of point_count in animations

The question: Is there a way to support changing point_count in animation?

Possibility 1: If the animation detect point_count changes from xx to x+1, maybe we can make a "growing" effect by lowering the iteration of point_count x by some low percent dependent on speed of the animation, and increase the iteration count of point_count x+1 by the same amount.

Example: point_count = 3 is with 50000 points wants to become point_count = 4
First frame point_count = 3 with 50000 points, point_count = 4 with 0 points
Next frame point_count = 3 with 45000 points, point_count = 5 with 5000 points
etc.

Possibility 2: Is possibility 1 doesn't work, should we just decrease the opacity of the point_count x fractal as we increase opacity of the point_count x+1 fractal?

S

Feature request: Keep track of colliding points

The flam3 algorithm generally has a way of keeping track of points and correlates a high number with high "density". This could be represented by an integer representing number of times a point repeated itself in the same spot.

Challenge: how to represent a float value in the unit circle of radius 1 as an integer pixel.

Easy potential fix: In the utils.py file, point_to_image_mat function currently takes a matrix of float points and creates a width by height sized matrix of zero's and one's. It can be changed to Increment values of colliding pixels instead of setting them to 1.

The mat_to_color function can then choose colors and opacity of pixels based on values from 0 to n.

Proposal: Test an implementation with various scaling function to set opacity and color in mat_to_color

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.