A repository to render fractals and encode bitmaps.
bmpEncoder.h
provides functions to initialize and save bitmaps. The cost of function calling might be great in high-performance requirement and it's difficult to write a universal function for every kind of bpps, thus reading and writing operations should be realized by user.bmpLine.h
defines line equations used in fractal rendering. The linear functions is frequently used in fractal rendering in coordination translation. It is the base of almost every fractal lib in this repo.bmpPalette.h
provides some palettes, mainly gradients. The definition of type PALETTE is inbmpEncoder.h
, and the palettes provided here is the same with that difinition, so it can be used directly to initialize bitmaps.fractalBarnsleyFern.h
renders Barnsley fern.fractalLogisticMap.h
renders Logistic map.fractalIterate.h
renders Mandelbrot set and Julia set. Might be renamed and/or overwritten.gdiTemplate.h
andgdiTemplate.c
provides an easier way to use gdi with c. They encapsulate the main function and the callback function.SUGE.c
aims to simulate motions of celestial bodies. You can use fileSUGE
as a default configure file; for more informations, see the code.
- Add comments in headers
- Split headers into
.h
and.c
files - Rename and/or overwrite the files noted above
- Add more images
This lib uses clibs/mt19937ar under BSD licence to generate random numbers.