Skip to content

Instantly share code, notes, and snippets.

View amr3k's full-sized avatar
🏠
Working from home

A̴m̴r̴ ع̲مِےـرۅ amr3k

🏠
Working from home
View GitHub Profile
@amr3k
amr3k / Fix Broken EDID Guide.md
Created March 7, 2024 04:18 — forked from hinell/Fix Broken EDID Guide.md
Guide how to achieve better resolution with broken EDID. Two methods are used: xorg.conf config and kernel params.

Fix Broken EDID Guide

This guide outlines replacement of the broken EDID metadata file for the device in Linux Operating Systems.

Last-Modified: Sunday, April 11, 2021

• • •

@amr3k
amr3k / GLSL-Noise.md
Created January 2, 2023 23:35 — forked from patriciogonzalezvivo/GLSL-Noise.md
GLSL Noise Algorithms

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
	return mix(rand(fl), rand(fl + 1.0), fc);
}