Ellipse emulator
Small Qt application which generates image with ellipse and random dots about it.
Image generation
- Paint ellipse inside window.
- Do grid with starting grid size
(width, height)
. - For each cell paint dot if there is ellupse line in this cell.
- Decrease grid size in two times for width and height.
- Go to 3 until grid size more than minimal grid size.
Build
qmake ellipseemulator.pro
make