https://github.com/dinau/nim-opengl-test
OpenGL test program with Nim language
https://github.com/dinau/nim-opengl-test
glfw glfw3 mandelbrot nim nim-lang opengl zig ziglang
Last synced: 3 months ago
JSON representation
OpenGL test program with Nim language
- Host: GitHub
- URL: https://github.com/dinau/nim-opengl-test
- Owner: dinau
- License: mit
- Created: 2022-01-24T12:26:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-06-29T06:22:41.000Z (about 1 year ago)
- Last Synced: 2025-06-29T07:28:06.427Z (about 1 year ago)
- Topics: glfw, glfw3, mandelbrot, nim, nim-lang, opengl, zig, ziglang
- Language: Nim
- Homepage:
- Size: 15.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
- [nim-opengl-test](#nim-opengl-test)
- [Draw Mandelbrot](#draw-mandelbrot)
- [Build and run](#build-and-run)
- [Static link](#static-link)
- [Operation](#operation)
### nim-opengl-test
---
OpenGL test program with Nim language
This program is referred from this page,
* https://github.com/rylmovuk/zig-opengl-test
Thank you nice demo.
and converted to Nim language.
#### Draw Mandelbrot
---

#### Build and run
---
```sh
git clone http://github.com/dinau/nim-opengl-test.git
cd nim-opengl-test
nimble run
or
make run
```
#### Static link
---
If you'd like to statically link glfw3 library,
enable below line,
```
switch "define","glfwStaticLib"`
```
in `config.nims`
#### Operation
---
* Pause drawing: Press `S` or `Space` key : toggled
* Reset windows size: Press `R` key
* Quit program: Press `Q` key or `Esc` key