Skip to main content
jasonsturges
Inspiring
January 18, 2017
Answered

Perlin noise internal implementation

  • January 18, 2017
  • 3 replies
  • 1689 views

What library does Flash Player use for rendering of perlin noise?

The implementation is unique, but I presume this must come from some C/C++ library, similar as how 2D drawing uses Cairo.

Searching the Flash avmplus source code at GitHub, I don't see any reference other than Greg Ward's Graphics Gems II recursive implementation of perlin noise in MathUtils::RandomPureHasher(int32_t iSeed) function.

Any insight as to the origin of source code used by Flash Player?

This topic has been closed for replies.
Correct answer jeromiec83223024

We're talking about code that was written ~12+ years ago at this point.  The original authors are long gone.  I went on a little fact-finding expedition through ancient wikis and code, but I didn't find anything that would be useful, sorry.  This was added a couple years before my time.

You've probably found this already, but the wikipedia article has references to the original SIGGRAPH paper and some reference implementations: Perlin noise - Wikipedia

3 replies

April 25, 2019

I agree with Jason about how the Flash API seems to produce nicer looking noise. Is there any chance the code could be made publicly available?

The Internet of Things (IoT ); is the network of physical objects accessed over the Internet. These objects include embedded technology to interact with internal situations or the environment.

The Industrial Internet Of Things (IIoT );  sensors, actuators, controllers, and robots to Internet-based analytical computing and storage tools. IoT is used in industrial form so that it can be safely managed simply by communicating with the desired devices.

jeromiec83223024
Inspiring
April 17, 2019

There are no plans to open-source Flash code at this point in time.  I don't see this as super likely at the moment.

jeromiec83223024
jeromiec83223024Correct answer
Inspiring
January 18, 2017

We're talking about code that was written ~12+ years ago at this point.  The original authors are long gone.  I went on a little fact-finding expedition through ancient wikis and code, but I didn't find anything that would be useful, sorry.  This was added a couple years before my time.

You've probably found this already, but the wikipedia article has references to the original SIGGRAPH paper and some reference implementations: Perlin noise - Wikipedia

jasonsturges
Inspiring
January 18, 2017

Thanks for taking a look.

It's strange, as I've never seen a perlin or simplex algorithm yield results quite like Flash - I've always been partial to the quality and API of Flash Player's perlin noise function.

I thought that perhaps I was missing something in the AVM plus code.

Appreciate the reply, thanks.

jeromiec83223024
Inspiring
January 18, 2017

I'm still curious too.  I've got a couple more old-timers to ask.  I'll let you know if I come up with anything useful.


Thanks!