Terrain Generation with Perlin Noise in Processing by Daniel Shiffman Tank Top
Processing Tank Top
designed and sold by rupertrussell
// Daniel Shiffman // http://codingtra.in // http://patreon.com/codingtrain // Coding Challenge #11: 3D Terrain Generation with Perlin Noise in Processing // Code for: https://youtu.be/IKB1hWWedMk int count = 0 ; int cols, rows; int scl = 20; int w = 2000; int h = 1600; float flying = 0; float[][] terrain; void setup() { size(1300, 600, P3D); strokeWeight(2); // Thicker // fullScreen(SPAN); cols = w / scl; rows = h/ scl; terrain = new float[cols][rows]; } void draw() { flying -= 0.1; float yoff = flying; for (int y = 0; y < rows; y++) { float xoff = 0; for (int x = 0; x < cols; x++) { terrain[x][y] = map(noise(xoff, yoff), 0, 1, -100, 100); xoff += 0.2; }...
More Terrain Generation with Perlin Noise in Processing by Daniel Shiffman Products
Not what you're looking for?
Try another search.
Product Quality
Our Production Team establishes the highest quality standards for third-party printers who participate in the marketplace to ensure that every product sold is perfect.
Processing Tank Top FAQ
UPS MI Domestic (6-8 Business Days)
FedEx 2-Day (4-6 Business Days)
Estimates include printing and processing time.More Shipping Info
We want you to love your order! If for any reason you don't, let us know and we’ll make things right.Learn More
Similar to Terrain Generation with Perlin Noise in Processing by Daniel Shiffman Tank Top
More Processing products
Customers Also Search
More content to explore
Artist's Applied Tags
Trending Tags
The links above have been automatically generated based on tag usage by third-party designers on the TeePublic platform.