Browse Source

update readme

master
blackle 3 years ago
parent
commit
9508ba5fde
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      README.md

+ 2
- 2
README.md View File

@ -6,9 +6,9 @@ Some code examples for opening windows for various purposes in very few bytes. U
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 - 1074 bytes
## gtk-webkit - 1482 bytes
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.
Example code for opening an html page fullscreen with gtk. Closes with the standard ALT+F4 on Ubuntu. WebGL is enabled and initialized to display a shader full screen with some very unoptimized javascript. Optimizing the js for size will probably take off another 100 bytes or two.
## xlib-opengl - 1498 bytes


Loading…
Cancel
Save