Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [T1] Fast Smooth Noise Generation

Author
Message
unlikely
12
Years of Service
User Offline
Joined: 5th Mar 2012
Location: Ohio, USA
Posted: 5th Feb 2015 02:08 Edited at: 5th Feb 2015 02:11
For one of my projects, I needed a smooth noise generation algorithm. Obviously, when many people think of smoothed noise, they think of Ken Perlin's excellent noise algorithms. I decided to implement Perlin's 2D simplex noise, which is a newer, much faster version of the original.





There's something not quite right about how it's working currently, but it's still useful / fun to play with. (Let me know if you spot improvements!)

This is actually a really fast algorithm (as demonstrated by the demo below.)

SimplexNoise.agc:


Noise Test (main.agc):


Using AppGameKit v2 T1 + T2
Systems: Primary: Mac OS X 10.10
Secondary: Windows 7

Attachments

Login to view attachments
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 5th Feb 2015 04:13
Looks cool.

I can see images of ways to use this in all sorts of fun stuff.

Cheers,
Ancient Lady
unlikely
12
Years of Service
User Offline
Joined: 5th Mar 2012
Location: Ohio, USA
Posted: 5th Feb 2015 22:15
Yep, I'm using it for some procedural generation.

(I think it's cool. )

Using AppGameKit v2 T1 + T2
Systems: Primary: Mac OS X 10.10
Secondary: Windows 7

Login to post a reply

Server time is: 2024-04-27 04:43:46
Your offset time is: 2024-04-27 04:43:46