Skip to content

welshcoder/PerlinNoise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Perlin Noise C++11

 Distributed under the MIT license, see LICENSE.txt

Ken Perlin の ImprovedNoise (http://mrl.nyu.edu/~perlin/noise/) を C++11 で実装しました。
Visual Studio 2012 で動作を確認しています。

リファレンス実装に加えて

  • 乱数シード設定
  • 1D, 2D ノイズ
  • オクターブノイズ

の機能を追加しました。

Sample.cpp を実行すると、入力したパラメータで雲模様の画像を作成します。
入力例

  • frequency = 8.0
  • octaves = 8
  • seed = 12345

f8o8_12345

About

Header-only Perlin noise library for modern C++ (C++11 / C++14 / C++17/ C++20)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 99.4%
  • Makefile 0.6%