Skip to content

Instantly share code, notes, and snippets.

View Neosoulink's full-sized avatar
🔥
Burning to DF

Nathan Mande Neosoulink

🔥
Burning to DF
View GitHub Profile
@kyaroru
kyaroru / expo-three-3d-view.js
Last active March 25, 2023 09:20
This is an utility file for loading OBJ, FBX, GLTF models using expo-three & threejs
onContextCreate = async (gl, data) => {
// const {setRenderer, setCamera, setScene} = data;
const { selected } = data;
const { drawingBufferWidth: width, drawingBufferHeight: height } = gl;
const sceneColor = 0xabd2c3;
// Create a WebGLRenderer without a DOM element
const renderer = new Renderer({ gl });
renderer.setSize(width, height);
renderer.setClearColor(sceneColor);
@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-Noise.md
Last active May 8, 2024 18:44
GLSL Noise Algorithms

Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative

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);
@ilyar
ilyar / Install_gitflow_on_Windows.md
Created April 22, 2014 19:16
Install gitflow on Windows

Install gitflow on Windows

Download and install Git from MSysGit or Git SCM. Download and install getopt.exe from the util-linux package into C:\Program Files\Git\bin. (Only getopt.exe, the others util-linux files are not used). Also install libintl3.dll and libiconv2.dll from the Dependencies packages (libintl and libiconv), into the same directory.

Suppose that Git is installed in the folder c:\bin\git and GnuWin32 in the folder c:\bin\GnuWin32.

Clone the git-flow sources from GitHub:

$ git clone --recursive git://github.com/nvie/gitflow.git