-
Notifications
You must be signed in to change notification settings - Fork 6
/
README
32 lines (27 loc) · 1.14 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
prettytiles
=============
* Watch: http://gamejs.org/apps/prettytiles/
* Code: https://github.com/oberhamsi/prettytiles-gamejs
CPU heavy landscape generator ported from Processing to GameJs. Perlin noise generated on the fly.
Yar, from opengameart, made those super pretty ISO tiles. binarymillenium wrote an elegant landscape generator for Processing (java). I, oberhamsi, had the simple task to port this generator to GameJs. Sean McCulloughs perlin noise generator was used for the GameJs port.
/**
* binarymillenium
* November-December 2010
* GNU GPL v3
*
* 'w','a','s','d' to move.
*
* Art from http://opengameart.org/content/isometric-64x64-outside-tileset
* Yar
* CC-BY 3.0
*
* Feb 2010, <[email protected]> ported to GameJs
*
*/
// perlin.js
// Ported from Stefan Gustavson's java implementation
// http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf
// Read Stefan's excellent paper for details on how this code works.
//
// Sean McCullough [email protected]
// https://gist.github.com/304522