Close Show/hide page

Faceted Crystal Ball

Thumbnail - Click me

Or at least, that’s the best easy analogy to describe it.

Gist: The color of each triangle in the mesh is obtained by averaging the pixel colors of the underlying image at the screen positions under each vertex as well as at the triangles’ center point. Some FlatShader-like lighting is used to add a little more three-dimensionality. Finally, a BlurFilter is applied to the source image to keep the transitions between colors from feeling too abrupt.

Source code: PvColorFacets.as

Licensed under a Creative Commons Attribution 3.0 License.

4 Responses to “Faceted Crystal Ball”

  1. julapy:

    this is a really nice idea…
    would work great on a photography site with little interactive objects floating about for the viewer to play with while browsing the photos.
    or even a nav.

  2. Frank:

    nice one… ;)

    [WORDPRESS HASHCASH] The poster sent us ‘0 which is not a hashcash value.

  3. Felipe Barone:

    You rock man! great one!

  4. Ozgur Uksal:

    great

Leave a Reply