l1mey112 / notcurses-opengl

A project and demo utilising notcurses and OpenGL to render to the terminal in an efficient manner. Renders the mandelbrot set with a screen space shader.

Home Page:https://blog.l-m.dev/posts/hijacking-opengl-with-notcurses/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

notcurses-opengl

A project utilising notcurses and OpenGL to render to the terminal in an efficient manner. It uses a screen space shader to calculate the mandelbrot set (a re-occurring theme with my projects). notcurses is so fast that the GPU becomes the bottleneck when rendering!

Inside the demo the arrow keys to move you around and the mouse scroll wheel to zoom in and out.

Use this code as an example when doing OpenGL windowless rendering and for writing to the notcurses framebuffer.

Better yet, check out my post on the explanation of how this all comes together!

notcurses-zoomed-out notcurses-gl-hellotriangle notcurses-mandelbrot notcurses-well

mirrored from my git instance....

About

A project and demo utilising notcurses and OpenGL to render to the terminal in an efficient manner. Renders the mandelbrot set with a screen space shader.

https://blog.l-m.dev/posts/hijacking-opengl-with-notcurses/

License:MIT License


Languages

Language:C 79.9%Language:GLSL 18.8%Language:Makefile 1.3%