This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"fullscreen": { | |
"monitor": 0, | |
"sizepercent_x": 1, | |
"sizepercent_y": 1, | |
"startpercent_x": 0, | |
"startpercent_y": 0, | |
"border_x": 0, | |
"border_y": 0, | |
"forceratio": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// ... | |
"midi": { | |
"fKnobA1": 13, | |
"fKnobA2": 14, | |
"fKnobA3": 15, | |
"fKnobA4": 16, | |
"fKnobA5": 17, | |
"fKnobA6": 18, | |
"fKnobA7": 19, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// (c) 2023 0b5vr, MIT License | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR O |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem based on minify.bat | |
"C:\Users\0b5vr\Documents\Workspace\minimal_gl\x64\Release\shader_minifier.exe" graphics_fragment_shader.i -o graphics_fragment_shader.inl --format c-array || exit /b 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <std/io.pat> | |
#include <std/math.pat> | |
fn charString(str value) { | |
return value; | |
}; | |
fn u16LengthInWords(u16 value) { | |
return 2 * value; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: CC0-1.0 | |
// I forgot how I make this file tbh | |
export const GL_ACTIVE_ATTRIBUTES = 0x8b89; | |
export const GL_ACTIVE_TEXTURE = 0x84e0; | |
export const GL_ACTIVE_UNIFORM_BLOCKS = 0x8a36; | |
export const GL_ACTIVE_UNIFORMS = 0x8b86; | |
export const GL_ALIASED_LINE_WIDTH_RANGE = 0x846e; | |
export const GL_ALIASED_POINT_SIZE_RANGE = 0x846d; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A deno script that downloads all files in the Slack export archive | |
* 2023-03-03 | |
* | |
* Copyright (c) 2023 0b5vr | |
* SPDX-License-Identifier: MIT | |
* | |
* Usage: | |
* - Install deno - https://deno.land/ | |
* - `deno run --allow-read --allow-write --allow-net download.ts <export>` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// vite-shader-minifier-plugin | |
// Copyright (c) 2022 0b5vr | |
// SPDX-License-Identifier: MIT | |
// Compatible with Shader Minifier 1.2 | |
// https://github.com/laurentlb/Shader_Minifier/releases/tag/1.2 | |
// Usage: | |
// - Make sure `shader_minifier.exe` is visible via PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env -S deno run --allow-read --allow-write --allow-run | |
// compeko - pack JavaScript into a self-extracting html+deflate | |
// v2.0.0 | |
// Copyright (c) 2022-2024 0b5vr | |
// SPDX-License-Identifier: MIT | |
// Usage: | |
// - prepare a js code, which will be fed into `eval` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* (c) 2021 FMS_Cat, MIT License | |
* Original shader: https://www.shadertoy.com/view/MdffD7 | |
* I dumbass don't know what it says despite it's my own shader | |
*/ | |
Texture2D shaderTexture; | |
SamplerState samplerState; | |
cbuffer PixelShaderSettings { |
NewerOlder