From 9e4302bdd4fca6f8d0b76bf6f71ec5cde7c74138 Mon Sep 17 00:00:00 2001 From: blackle Date: Tue, 2 Apr 2019 00:50:52 -0400 Subject: [PATCH] Add readme --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..e9c10ee --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# Linux-OpenGL-Examples + +Some code examples for opening windows for various purposes in very few bytes. + +## gtk-opengl + +Example code for opening a glsl shader fullscreen with gtk. Closes with the standard alt+f4 on Ubuntu. Shaders get passed an iTime uniform in seconds. App closes automatically after 10 seconds. + +## gtk-webkit + +Example code for opening an html page fullscreen with gtk. Closes with the standard alt+f4 on Ubuntu. WebGL is enabled however is not used in the example. Testing with webkit gtk has found that most(?) shadertoy shaders seem to work. It has yet to be seen if initializing a shader in javascript takes fewer bytes than with gtk's opengl code.