Skip to content

Instantly share code, notes, and snippets.

:octocat:
Happy 😃 😆 🙂

Wonmin Cho ChoWonmin

:octocat:
Happy 😃 😆 🙂
Block or report user

Report or block ChoWonmin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View load_tsv.sql
use databasename;
DELETE FROM tablename WHERE partition = 'condition';
LOAD DATA LOCAL INFILE 'file.tsv' INTO TABLE tablename FIELDS TERMINATED BY '\t';
@ChoWonmin
ChoWonmin / frag.glsl
Last active Oct 9, 2019
three.js shader example
View frag.glsl
precision mediump float;
uniform float time;
varying vec3 vPosition;
varying vec2 vUv;
void main() {
gl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0);
View GLSL-Noise.md

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);
}
You can’t perform that action at this time.