Skip to content

occisn/c-morpho-butterfly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c-morpho-butterfly

Hamid Naderi Yeganeh is an artist which draws pictures with mathematical equations: Wikipedia, X, Instagram, YouTube.

Morpho buttterfly is one of his artworks (X, Instagram): original butterfly and equations

The present repository reproduces this work with C.

The program uses OpenMP to parallelize calculations and STB library to create the images.

The program:
- generates butterfly picture (by changing NB_RUNS, it can be done several times, to evaluate durations), and
- generates heatmaps of intermediate calculations.

See images below.

Any comment? Open an issue, or start a discussion here or at profile level.

(the same in Common Lisp)

Generated butterfly:
output butterfly

C heatmap:
C heatmap

E heatmap:
E heatmap

L heatmap:
L heatmap

W heatmap:
L heatmap

A0 heatmap:
A0 heatmap

A1 heatmap:
A1 heatmap

K0 heatmap:
K0 heatmap

K1 heatmap:
K1 heatmap

K2 heatmap:
K2 heatmap

H0 heatmap:
H0 heatmap

H1 heatmap:
H1 heatmap

H2 heatmap:
H2 heatmap

(end of README)

About

Reproduction with C of Hamid Naderi Yeganeh's "morpho butterfly" artwork based on mathematical equations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors