flam3_animation_generator's People
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 x
x 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.