Skip to content

Instantly share code, notes, and snippets.

View Valthoron's full-sized avatar

Serdar Üşenmez Valthoron

  • Ankara, Turkey
View GitHub Profile
@tombsar
tombsar / gradient.hh
Created January 8, 2015 15:06
C++ port of Michael Powell's Simplectic Noise, originally written in Rust. His algorithm is described in a blog post here: http://www.spiritofiron.com/2015/01/simplectic-noise.html
/*
* Simplectic Noise in C++
* by Arthur Tombs
*
* Modified 2015-01-08
*
* This is a derivative work based on Simplectic Noise in Rust
* by Michael Powell:
* http://www.spiritofiron.com/2015/01/simplectic-noise.html
*
@tombsar
tombsar / OpenSimplexNoise.hh
Last active March 4, 2022 22:35 — forked from KdotJPG/OpenSimplex2S.java
C++ port of KdotJPG's OpenSimplexNoise in Java. A self-contained set of functions for generating visually axis-decorrelated, coherent noise from a simplectic honeycomb.
/*
* OpenSimplex (Simplectic) Noise in C++
* by Arthur Tombs
*
* Modified 2015-01-08
*
* This is a derivative work based on OpenSimplex by Kurt Spencer:
* https://gist.github.com/KdotJPG/b1270127455a94ac5d19
*
* Anyone is free to make use of this software in whatever way they want.
@sekati
sekati / xcode-build-bump.sh
Created July 24, 2012 20:44
Xcode Auto-increment Build & Version Numbers
# xcode-build-bump.sh
# @desc Auto-increment the build number every time the project is run.
# @usage
# 1. Select: your Target in Xcode
# 2. Select: Build Phases Tab
# 3. Select: Add Build Phase -> Add Run Script
# 4. Paste code below in to new "Run Script" section
# 5. Drag the "Run Script" below "Link Binaries With Libraries"
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0)