This project demonstrates the use of CNL. It outputs the following image of the Mandelbrot Set:
!
!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!"""""""""""""""""""!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!"""""""""""""""""######"""""!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!""""""""""""""""####$$''%$####""""!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!""""""""""""""""######$$%&*() $####""""!!!!!!!!!!!!!!!!!!!!!!!!
!!!!"""""""""""""""#######$$$&'66)&%$####"""""!!!!!!!!!!!!!!!!!!!!!!!
!!!"""""""""""""""#######$$%%(-; PA&$$$$###"""""!!!!!!!!!!!!!!!!!!!!!!
!!!""""""""""""""#######$%%%&&'/ A'&%%$$$##"""""!!!!!!!!!!!!!!!!!!!!!!
!""""""""""""""#####$$$%,Z,()4M/5 6.7*-'&&,%##"""""!!!!!!!!!!!!!!!!!!!!!
!"""""""""""""###$$$$$%%&(1 ,547'$#""""""!!!!!!!!!!!!!!!!!!!!!
!""""""""""##$$$$$$$$%%&)*1 +&$$#""""""!!!!!!!!!!!!!!!!!!!!
!"""""""####$,&%%%%%&&&'(/ c'&$##""""""!!!!!!!!!!!!!!!!!!!!
""""#####$$$%(+*))/((''(. )$##""""""!!!!!!!!!!!!!!!!!!!!
""######$$$%&')N E 8*+ +&$##""""""!!!!!!!!!!!!!!!!!!!!
######$$$$&'(*Z 1 *%$###""""""!!!!!!!!!!!!!!!!!!!
#$##$%%%&&(.10 .&$$###""""""!!!!!!!!!!!!!!!!!!!
D*'%$$###""""""!!!!!!!!!!!!!!!!!!!!
#$##$%%%&&(.10 .&$$###""""""!!!!!!!!!!!!!!!!!!!
######$$$$&'(*Z 1 *%$###""""""!!!!!!!!!!!!!!!!!!!
""######$$$%&')N E 8*+ +&$##""""""!!!!!!!!!!!!!!!!!!!!
""""#####$$$%(+*))/((''(. )$##""""""!!!!!!!!!!!!!!!!!!!!
!"""""""####$,&%%%%%&&&'(/ e'&$##""""""!!!!!!!!!!!!!!!!!!!!
!""""""""""##$$$$$$$$%%&)*1 +&$$#""""""!!!!!!!!!!!!!!!!!!!!
!"""""""""""""###$$$$$%%&(1 ,547'$#""""""!!!!!!!!!!!!!!!!!!!!!
!""""""""""""""#####$$$%,V,()4M/5 6.7*-'&&,%##"""""!!!!!!!!!!!!!!!!!!!!!
!!!""""""""""""""#######$%%%&&'/ A'&%%$$$##"""""!!!!!!!!!!!!!!!!!!!!!!
!!!"""""""""""""""#######$$%%(-; IA&$$$$###"""""!!!!!!!!!!!!!!!!!!!!!!
!!!!"""""""""""""""#######$$$&'56)&%$####"""""!!!!!!!!!!!!!!!!!!!!!!!
!!!!""""""""""""""""######$$%&*() $####""""!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!""""""""""""""""####$$''%$####""""!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!"""""""""""""""""######"""""!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!"""""""""""""""""""!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!
!
To run this program on Linux using CMake and Conan:
-
Get the source:
git clone git@github.com:johnmcfarlane/cnl_example.git cd cnl_example
-
Add Bintray conan repository:
conan remote add johnmcfarlane/cnl https://api.bintray.com/conan/johnmcfarlane/cnl
-
Create a build environment in a directory called build:
mkdir -p build cd build conan install --build=missing .. cmake -DCMAKE_MODULE_PATH=$(pwd) ..
-
Build the demo program:
cmake --build .
-
Run the demo program:
./cnl_example
-
Test the output of the demo program:
ctest