local p=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local d=require(p.ProceduralMapGenerator.TerrainDescriptor)local L=require(p.ProceduralMapGenerator.TerrainBuilder)local J=require(script.Colorset)local W,F=128,128 local O=tick()local x=d.new()x:Initialize()local u=L.new()u.Colorset=J u:Build(x,nil,(-W/2)*40,(-F/2)*40)print("\077\097\112 \104\097\115 \098\101\101\110 \103\101\110\101\114\097\116\101\100 \105\110 "..(tostring(tick()-O).." \115\101\099\111\110\100\115"))
-- This script is for test purposes only, it shouldn't be included in the final build.

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TerrainDescriptor = require(ReplicatedStorage.ProceduralMapGenerator.TerrainDescriptor)
local TerrainBuilder = require(ReplicatedStorage.ProceduralMapGenerator.TerrainBuilder)
local Colorset = require(script.Colorset)

local width, height = 128,128

local start_init_time = tick()

local Terrain = TerrainDescriptor.new()
Terrain:Initialize()

local TerrainBuilderObj = TerrainBuilder.new()
TerrainBuilderObj.Colorset = Colorset
TerrainBuilderObj:Build(Terrain,nil,-width/2*40,-height/2*40)

print("Map has been generated in "..tostring(tick()-start_init_time).." seconds")