generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Why does noise make straight lines

Previous Thread :: Next Thread 
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
21 Jul 2016 11:43 AM
http://prntscr.com/bvrd27


Two overlapping noise patterns, the dark green seams to create weird lines going in the same direction? Only happens sometimes

print("Layer 2")
for x = 1,100 do
for y = 1,100 do
local tile = board:FindFirstChild(x..","..y)
if tile.BrickColor == grass then
local noise = math.noise(x*scale+seed+100,y*scale+seed+100)
if noise < 0 then
tile.BrickColor = BrickColor.new("Earth green")
end
end
end
if x%5 == 0 then
wait()
end
end
Report Abuse
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
21 Jul 2016 12:23 PM
?
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
21 Jul 2016 12:43 PM
that's how math.noise works
Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
21 Jul 2016 12:45 PM
this is probably a terribad idea but maybe if you use math.sin the lines will be wavy


Add 13,000 posts
Report Abuse
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
21 Jul 2016 12:47 PM
"that's how math.noise works"

Why does it do this

also math.sin

I have no idea how i'd use this into and and Im just going to assume you have no idea how noise works :)
Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
21 Jul 2016 12:48 PM
throw it in somewhere until it works

!!


Add 13,000 posts
Report Abuse
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
21 Jul 2016 01:00 PM
*inserts randomly*

*discovers ultimate terrain generation with no lag*
Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
21 Jul 2016 01:01 PM
i know you're joking

but


Add 13,000 posts
Report Abuse
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
21 Jul 2016 01:04 PM
butwat
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image