3D Landscape Generation in p5.js (no moving around)

Subscribers:
7,360
Published on ● Video Link: https://www.youtube.com/watch?v=VoFsB0toORk



Duration: 31:45
1,286 views
38


In this video I show how to make a 3D landscape in p5.js Javascript using Perlin noise. This is just a static image - no moving around the generative landscape.

Landscape Code made during video:
https://editor.p5js.org/StevesMakerspace/sketches/kjw_kQYYj

Landscape Code with more bells & whistles - made previously:
https://editor.p5js.org/StevesMakerspace/sketches/kiy4ecWze

3D Rovercam code:
https://github.com/freshfork/p5.RoverCam

Mazerunner code:
https://github.com/jrc03c/queasycam/tree/master/examples/MazeRunner

Join my Discord: https://discord.gg/FSW6zzU

Follow me on Twitter: https://twitter.com/SteveMakerspace

0:00 Intro
1:16 3D Setup & camera angles
2:49 Drawing flat grass
8:10 Adding Perlin noise
10:43 Adding water
12:49 Adding stones
16:28 Adding a tree line / mountain
18:48 Adding tree trunks
22:14 Adding tree leaves - sphere
23:18 Perlin noise for forests
25:26 Minecraft-style tree leaves
27:29 Perlin noise for color changes
29:30 Possible additions

Music:
Funk Down (Sting) by MK2 (theme)







Tags:
p5js landscape
javascript landscape
p5js terrain
javascript terrain
p5js generative landscape
generative landscape
perlin noise
landscape tutorial
p5js perlin landscape
landscape generation