ScratchData LogoScratchData
Back to redstonelasher2010's profile

Tesspixel Terrain Engine

REredstonelasher2010•Created December 2, 2021
Tesspixel Terrain Engine
0
0
13 views
View on Scratch

Description

Introducing Tesspixel, my latest and greatest terrain engine that I made months ago. It has gone through many tweaks over the months to make it the best it can be. Tesspixel works by generating a heightmap with random numbers using the pick random () to () block while throwing some random sine waves in as well. Then it averages them out to create nice-looking terrain. In this project it adds random variants of stone and grass, but you can modify it to not do that. The "s" value controls the strength of the averaging (I think) and the "averaging passes" value controls how many averaging passes Tesspixel does on the random numbers. Notes: I might tweak it some more to generate a block map along with a heightmap for more sensical terrain generation. Like, why do diamonds generate right below grass?

Project Details

Project ID610468298
CreatedDecember 2, 2021
Last ModifiedSeptember 15, 2024
SharedDecember 2, 2021
Visibilityvisible
CommentsAllowed