Not yet rated

Problem

User may want to make Flex application look like himself, his room or his jacket.

Solution

Use Flex 4 color schemes ("chromeColor", "accentColor", ...) and screenshot from the Camera.

Detailed explanation


http://kachurovskiy.com/f/ria/10/camera-theme/ColorSchemes.html

Flex 4 provides coloring via styles "chromeColor", "color", "selectionColor", "accentColor" and so on. Camera provides image of whatever user target it on. The main problem is how to extract colors from the BitmapData. I have user 2 methods:

- Sorting colors by saturation and taking "distant" ones

- Breaking colors into clusters usin K-means clusterization algorithm

View source code.


+
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

Report abuse

Related recipes