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.