Relaxing in the Plane: A Voronoi Toy

relax, v.
10. Chiefly Physics. To return towards a state of equilibrium. (OED)
. . . → Read More: Relaxing in the Plane: A Voronoi Toy

Displace My Shiny Metal Ass

… in which it is revealed that Bender’s Big Score was actually to provide full floating-point precision to the DisplacementMapFilter! . . . → Read More: Displace My Shiny Metal Ass

Have you seen this man?

He supports an expansion of stem-cell research. He’s made nuclear nonproliferation a priority. He favors combating global warming with a “cap and trade” system. He supported a bill to expand the government’s eavesdropping authority and to protect telephone companies that cooperated with the program from being sued. He embraces the idea of continuing Bush’s faith-based initiative. He said he was picked last on a sports team as a boy. He said it taught him to work hard and persevere. His favorite childhood Halloween costume was a pirate. . . . → Read More: Have you seen this man?

Distributing Points on the Sphere

Distributing points on the sphere by electrostatic repulsion, ported from Bulatov’s C++ code.

References

Distributing points on the sphere

Symmetries of configurations of charges on . . . → Read More: Distributing Points on the Sphere

Dynamic Programming in AS3

AS3 provides a built-in data structure that you can use for dynamic programming to supplement your application’s functionality. This structure is the prototype chain.

What’s the prototype chain?

To answer that, let’s start by forgetting about user-defined Classes for the moment, and looking at some older mechanisms that have been common to ActionScript and JavaScript since AS1.

Functions . . . → Read More: Dynamic Programming in AS3

Perlin Color

Adding color to the previous example, we obtain tinted Perlin Clouds; allowing the color values to overflow past 1 gives us Perlin Plasma. A shift in coordinates reveals that the Frocessing implementation of Perlin noise is symmetric about all three axes (not necessarily implying that it’s incorrect if you stay in one octant…), producing Perlin . . . → Read More: Perlin Color

Perlin Clouds and Frocessing (with an F)

Here are two instances of the same demo, modeled after the one Seb Lee-Delisle showed last fall, built with two different Flash implementations of 3D Perlin noise. The one on the right uses Ron Valstar’s Perlin class (as does Seb’s demo), which appears to be a faithful port of Ken Perlin’s Improved Noise reference implementation . . . → Read More: Perlin Clouds and Frocessing (with an F)

Upon Reflection

In ActionScript 3, classes (and functions as well) are objects that can be manipulated like any other object. The language provides us with some constructs to facilitate this, and they are an important part of the programmer’s toolkit.

We need to be able to traverse the connections among the Class, an instance of the Class, and the name of the Class. . . . → Read More: Upon Reflection

Behind the Beyond, or Beyond the Behind

With the recent advances in Flash 3D and panoramas, and the fact that Flash 10, now out in beta, has intrinsic support for arbitrary warping of triangles, we can look forward to a future of increased performance and the complete disappearance of those wavy lines in panos. All of that fancy 3D stuff is based . . . → Read More: Behind the Beyond, or Beyond the Behind

Advanced Users May Choose

Can anybody show me a use case for the following?

(Flex language manual, Object.constructor)

Advanced users may choose to use the function keyword instead of the class keyword to define a Function object that can be used as a template for creating objects. Such a function is called a constructor function because you can use it in conjunction . . . → Read More: Advanced Users May Choose