the simulation of pigment flow on bibulous paper(1)

April 14th, 2009


The original idea of this article is from Dr. Chu’s PhD thesis, ,In that project ,he proposed a novel approach for simulate brush and pigment interact with bibulous paper, especially calligraphy brush work with chinese “Xuan” paper. I tried to reconstruct the system during the vacation of Easter,  and come up some different idea for improve the simulation quality.


本文参考香港大学CHU SIU HANGphd学位论文( ),并对作者的观点提出一些不同的看法和改进意见,探讨如何使用流体力学模型模拟颜料在可渗透材料上的物理运动,以实现尽可能逼真的画笔效果。

  Continue reading »

Seam Carving for Content-Aware Image Resizing on flash platform

March 4th, 2009


I’ve read the paper about seam carving technology long time ago ,the arithmetic is invented in 2007, the main idea for this technology is about analysis the content of image and find the prior removable pixels when resize it, to make this work ,they find out a energy function to evaluate the importance of each pixel, and then find out the less important pixel path though top to bottom(or left to right), finally remove all of the pixels(or insert new pixels) align the pixel path , which been named as “seam”.

Continue reading »

real time fluid simulation on 2D surface

February 12th, 2009

This is also a part of my graduation thesis project, for simulate the oil pigment flow on canvas, based on the Navie-Stokes equations

most of the ideas are got from

Continue reading »

live camera face detection in flash

February 12th, 2009

My master’s graduation thesis is about use computer to simulate the human painting process to draw a oil painting , I’v start some previously study of computer vision, this week I did this project for live face detection. I picked up this elegant approach from several papers and integrate them together. The reason I didn’t use openCV is because I’d like to learn some basic knowledge underneath image processing.

the program is still not stable enough compare to openCV’s Harr-feature based approach, but slightly faster.

Continue reading »

make some flower: flashplayer 10 3D painter

November 14th, 2008

This is funny. press mouse and draw the vine in the 3D space, and grow up some flower…

also with replay and record function.

Sometimes you will get bug when play the record , but I don’t care…I’m so tired, I have go to sleep now…

Source code always here when you open this link, and alwasy messy.

Continue reading »

panorama in flashplayer10

November 12th, 2008

last year when I develop the panorama player in flashplayer 9, I have to build up extremelly complex 3D engine frist to support 3D matrix calculation and picture  3D distortion, for distort a picture in flash player 9, I have to subdivide the picture into a triangle matrix and render each triangle out,  the efficiency is terrible. now in flash player 10 ,to bulid up the 3d space is extremelly easy.

by the way ,the picture is shot by myself, in in2media office with my new fish eye lens!

Continue reading »

GoogleMaps+flashplayer10 3D experiment

November 10th, 2008

I’m working on flash player 10 3D programming these days, When I got an assignment to experiment google maps api, I tried combine it with flash player 10 3D engine, the result is looks far more fancy than I thought.

you can drag the red point to the map, move the map, rotate the 3D surface, even the usability sucks, but it’s cool! now I know why everybody like use the maps to make demo for their new equipment or any kinds of digital product showcase, the only reason is because demo made by map is fancy, even it doesn’t make any sense.

flash plyer 10 make 3D matrix calculation extremelly easy, this demo is only spend 3 hours work, if change to flash player 9,would be spend more than 1 day.

you should install flash player 10 to play this swf file.

open this link you can download my messy source code.

Continue reading »

Sigma 8mm fisheye

October 21st, 2008

  Last weekend I went back to china and bought a set of panorama device , a manfrotto 303 sph tripod head and a Sigma 8mm EX-DG fisheye lens,  which I can use this to take some virtual reality picture and maybe do some further research.

  I still need to buy a big tripod to support the head, Then I’m going to make a software can edit and distort the image.

Continue reading »

3D video search user interface

October 1st, 2008

I did this project 2 years ago, in as2, just I have long time haven’t updata any new article in my blog,so I’m put it here when I found this file in my harddriver .

the Z dimension is for indicate correlativity with key world and the X dimension is use for different correlativity can be choose , such as “most visit” , “highest rank”.

user can scroll the camera by flip mouse wheel, and the result would refresh when get in to next “page”.

user have 2 different kinds of views,: 2D and 3D.

The demo haven’t connect with server yet ,so woun’t return any real result.