Skip to content

Instantly share code, notes, and snippets.

@akoGit
akoGit / BaseForm.tsx
Created November 30, 2023 11:52 — forked from ShinyObjectLabs/BaseForm.tsx
Framer Form Component
/*
MIT License
Copyright © Joel Whitaker
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:
@akoGit
akoGit / GLSL-Noise.glsl
Last active November 17, 2023 19:04 — 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);
}