Lichtenberg is a collection of example implementations of Dielectric Breakdown represents Lichtenberg Figure
like thunder and lightning.
The source code of the core algorithm are implemented in C++. Examples are written in Python(via Pybind11).
(for Ubuntu)Install C++ Compiler and CMake
sudo apt install build-essential cmake
Clone this repository (don't forget recursive option)
git clone --recursive https://github.com/chromia/lichtenberg.git
cd lichtenberg
Install with setup.py
python setup.py install
Examples are in examples/ directory
cd examples
python 01_basic.py
...
The result will be output to examples/ directory(e.g. examples/01_basic_gray.png)
docs/