Skip to content

Instantly share code, notes, and snippets.

View hyeonjang's full-sized avatar

hyeonjang hyeonjang

  • Korea Institute of Science and Technology Information (KISTI)
View GitHub Profile
@pixelmager
pixelmager / hash.md
Created March 26, 2020 13:31
glsl hash testing

just gathering the comments from https://www.shadertoy.com/view/WttXWX in a place I can actually find, which also has more markdown :)

OK, results are in: as 32 bit RNGs, the 3-round Wellons function here is marked as weak in just 2 tests, with no failures. The 2-round Wellons function has 4 weaks and 1 failure, the murmurhash derivative only slightly worse with 5 weaks and 1 failure. Jenkins and Wang have many failures (Wang fails almost everything) so aren't really in the running.

http://webhome.phy.duke.edu/~rgb/General/dieharder.php http://simul.iro.umontreal.ca/testu01/guideshorttestu01.pdf p 88-157 https://github.com/umontreal-simul/latticetester

Individual tests (just the negative results from the 50 or so tests):

@dongbum
dongbum / cmake-tutorial.md
Created September 25, 2019 17:38 — forked from luncliff/cmake-tutorial.md
CMake 할때 쪼오오금 도움이 되는 문서

CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자

주의

  • 이 문서는 CMake를 주관적으로 서술합니다
  • 이 문서를 통해 CMake를 시작하기엔 적합하지 않습니다
    https://cgold.readthedocs.io/en/latest/ 3.1 챕터까지 따라해본 이후 기본사항들을 속성으로 익히는 것을 돕기위한 보조자료로써 작성되었습니다
@shubhamwagh
shubhamwagh / TexturedMeshSteps.md
Last active September 25, 2025 22:55
Steps to create textured mesh from point cloud using Meshlab

Steps to create Textured Mesh from Point Cloud using Meshlab

Get your PointCloud into MeshLab

  • Import the pointcloud file in ".ply" file format in Meshlab. Before importing make sure you do some pre-processing / cleaning on point cloud so as to ease the process of meshing.

Point Cloud Simplification and Normals Computation

  • Next we need to reduce the number of point samples for smooth meshing.
    • So go to Filters -> Point Set -> Point Cloud Simplification. Enter Number of samples circa 5% of original number of points. Make sure Best Sample Heuristic is checked.
  • After point cloud simplification, make sure to select Simplified point cloud in the Show Layer Dialog on the right hand side. If not visible, it can be opened by navigating to View -> Show Layer Dialog. Now we need to compute normals for point set.
  • So go to Filters -> Point Set -> Compute normals for point sets . Enter Neighbour num between 10 - 100. Initially try with 10 and
@aidanhs
aidanhs / gist:5ac9088ca0f6bdd4a370
Last active September 25, 2024 11:17
Rust binary tree worked example

PLEASE DON'T USE THIS GUIDE

It's over 9 years old (as of 2024-02-18), there are many better guides! You might like https://rust-unofficial.github.io/too-many-lists/

% Let's build a binary tree!

Let's build a binary tree of strings in Rust. To recap, each node in a binary tree:

  1. must have a value
@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-Noise.md
Last active November 10, 2025 17:01
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);
@jexchan
jexchan / multiple_ssh_setting.md
Created April 10, 2012 15:00
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"