Skip to content

Instantly share code, notes, and snippets.

View kumaashi's full-sized avatar
🥑

yasai-gyabo(kumaashi) kumaashi

🥑
View GitHub Profile
@kumaashi
kumaashi / sender_tdf2021_gyabo.glsl
Created December 11, 2021 08:09
[TDF] ShaderShowDown 2021 q-f.
#version 410 core
uniform float fGlobalTime; // in seconds
#define time fGlobalTime
uniform vec2 v2Resolution; // viewport resolution (in pixels)
uniform float fFrameTime; // duration of the last frame, in seconds
uniform sampler1D texFFT; // towards 0.0 is bass / lower freq, towards 1.0 is higher / treble freq
uniform sampler1D texFFTSmoothed; // this one has longer falloff and less harsh transients
uniform sampler1D texFFTIntegrated; // this is continually increasing
@kumaashi
kumaashi / testwritecoc.cpp
Last active May 12, 2021 21:31
WriteConsoleOutputCharacter
//2021 gyabo
//@cmd.exe : cl testwritecoc.cpp /nologo /EHsc /Ox /GS-
#include <stdint.h>
#include <vector>
#include <thread>
#include <vector>
#include <windows.h>
#include <dwmapi.h>
#include <mmsystem.h>
#include <mmreg.h>
@kumaashi
kumaashi / tf.cpp
Last active November 28, 2021 08:13
//https://qiita.com/gyabo/items/f7e9b2ce14f3c0c12f16
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <stdint.h>
#include <vector>
#include <map>
#include <string>