I hereby claim:
- I am modster on github.
- I am greeffer (https://keybase.io/greeffer) on keybase.
- I have a public key ASDzn_aLmblscyUfAYNr-wPHoTiHtxSAXaMFcoa2XmaGJAo
To claim this, I am signing this object:
{ | |
"paddingVertical": "56px", | |
"paddingHorizontal": "56px", | |
"backgroundImage": null, | |
"backgroundImageSelection": null, | |
"backgroundMode": "color", | |
"backgroundColor": "rgba(171, 184, 195, 1)", | |
"dropShadow": true, | |
"dropShadowOffsetY": "20px", | |
"dropShadowBlurRadius": "68px", |
"use strict"; | |
var vs = `#version 300 es | |
in vec2 a_position; | |
uniform mat3 u_matrix; | |
void main() { | |
// Multiply the position by the matrix. | |
gl_Position = vec4((u_matrix * vec3(a_position, 1)).xy, 0, 1); |
#!/bin/bash | |
GIT_REPO_URL=$(git config --get remote.origin.url) | |
mkdir .deploy | |
cp -R ./* .deploy | |
cd .deploy | |
git init . | |
git remote add github $GIT_REPO_URL | |
git checkout -b gh-pages | |
git add . |
<!-- begin snippet: js hide: false console: true babel: false --> | |
<!-- language: lang-js --> | |
// WebGL2 Tips - Good Screenshot | |
// from https://webgl2fundamentals.org/webgl/webgl-tips-screenshot-good.html | |
"use strict"; |
#ifdef GL_ES | |
precision mediump float; | |
#endif | |
uniform vec2 u_resolution; | |
uniform float u_time; | |
// main is a reserved function that is going to be called first | |
void main(void) | |
{ |
I hereby claim:
To claim this, I am signing this object:
/* | |
AUTO-COMPLETE SNIPPETS FOR GLSL WITHIN VISUAL CODE STUDIO | |
Lewis Lepton | |
https://lewislepton.com | |
useful places that i grabbed info from | |
http://www.shaderific.com/glsl | |
https://www.khronos.org/opengl/wiki/OpenGL_Shading_Language | |
plus various other papers & books | |
*/ |
<div class="container"> | |
<h1>Light / Dark Mode</h1> | |
<div class="toggle-container"> | |
<input type="checkbox" id="switch" name="theme" /><label for="switch">Toggle</label> | |
</div> | |
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quos ducimus repellendus dolorem eum consequatur id exercitationem nesciunt, inventore modi perferendis impedit esse, tempora officia, ipsam quae libero. Nostrum, alias dignissimos.</p> | |
</div> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Canvas tutorial</title> | |
<script> | |
function draw() { | |
var canvas = document.getElementById('tutorial'); | |
if (canvas.getContext) { | |
var ctx = canvas.getContext('2d'); |