Skip to content

Instantly share code, notes, and snippets.

View stewdio's full-sized avatar

Stewart Smith stewdio

View GitHub Profile
@stewdio
stewdio / expand.wgsl
Last active February 22, 2022 22:37
In-progress shader fragment (but not fragment shader!) example for expanding a matrix
struct Matrix {
size: vec2<f32>;
numbers: array<f32>;
};
fn controlled( operation: Matrix<storage, write> ){
// How wide is our input matrix, “operation”?
struct Matrix {
size: vec2<f32>;
numbers: array<f32>;
};
// We are passing in data from JavaScript to GLSL,
// but how do we access that data and name it something?
// Bindings!

Keybase proof

I hereby claim:

  • I am stewdio on github.
  • I am stewartsmith (https://keybase.io/stewartsmith) on keybase.
  • I have a public key ASBPYVgetOX6YuTFNy8TklpH1PI9q_IWLhAClUfs2_mDKQo

To claim this, I am signing this object:

@stewdio
stewdio / weeks.txt
Last active November 8, 2017 14:58
No Name Abbrv
-----------------
1 Aladay Ad
2 Beladay Bd
3 Caladay Cd
4 Deladay Dd
5 Edaday Ed
6 Fedaday Fd
7 Gadaday Gd
-----------------
No Name Abbrv Days
---------------------------- 
1 Alamen Am 30
2 Belamen Bm 31
3 Calamen Cm 30
4 Delamen Dm 31
5 Edamen Em 30
6 Fedamen Fm 31
7 Gadamen Gm 30
8 Hedamen Hm 31