Little C++ program that creates wave interference patterns. It was used for generating lamp shades with wave patterns.
|
пре 3 година | |
---|---|---|
img | пре 3 година | |
test | пре 4 година | |
.gitignore | пре 4 година | |
CImg.h | пре 3 година | |
Makefile | пре 4 година | |
README.md | пре 3 година | |
WavePattern.cpp | пре 4 година |
This C++ program creates wave interference patterns and visualizes them in a png image. From this png image a heightmap can be produced and transformed into a 3D mesh with a tool like hmm.
hmm -z 60 --level -x 2 WavePattern.png WavePattern.stl
For the generation of the image the CImg Library is used. Make sure the X11 lib is installed (> apt install libx11-dev).
Distributed under the Apache License Version 2.0.