Skip to content

edmBernard/bg-generation-triangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bg-generation-triangle C++ CI

Small executable that generate fractal triangle pattern and save it in svg.

Generated command

  • bg-generation-triangle-regular : Regular subdivision of triangles
  • bg-generation-triangle-pleasing : Pleasing subdivision based on this blog

Dependencies

We use vcpkg to manage dependencies

This project depends on:

  • cxxopts: Command line argument parsing
  • fmt: A modern formatting library
  • spdlog: Very fast, header-only/compiled, C++ logging library
./vcpkg install spdlog cxxopts fmt

Compilation

mkdir build
cd build
# configure make with vcpkg toolchain
cmake .. -DCMAKE_TOOLCHAIN_FILE=${VCPKG_DIR}/scripts/buildsystems/vcpkg.cmake
# on Windows : cmake .. -DCMAKE_TOOLCHAIN_FILE=${env:VCPKG_DIR}/scripts/buildsystems/vcpkg.cmake
cmake --build . --config Release

Disclaimer

It's a toy project. So if you spot error, improvement comments are welcome.

About

Generation of fractal triangle pattern and save it in svg.

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors