8000
Skip to content

lucasmmg1/mathematical_animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mathematical_animation

This is an animation created using sine and cosine formulas based on two different sets of parameters.

How to use

You can tweak with the animation by changing the parameters from both the FIRST_COMBINATION and SECOND_COMBINATION, aswell as the number of lines on the animation itself.


The example bellow shows the fractal tree generation based on the following parameters:
NUM_LINES = 10
FIRST_COMBINATION_COLOR = color(255, 235, 235)
FIRST_COMBINATION_X_MODIFIER = 125
FIRST_COMBINATION_Y_MODIFIER = 75
FIRST_COMBINATION_W_MODIFIER = 200
FIRST_COMBINATION_H_MODIFIER = 225
SECOND_COMBINATION_COLOR = color(255, 75, 75)
SECOND_COMBINATION_X_MODIFIER = 75
SECOND_COMBINATION_Y_MODIFIER = 125
SECOND_COMBINATION_W_MODIFIER = 225
SECOND_COMBINATION_H_MODIFIER = 200

About

An animation created using sine and cosine formulas in processing.

Topics

Resources

Stars

Watchers

Forks

Contributors

0