PDA

View Full Version : Let a user to draw something with a chinese style brush


flashback80
03-20-2008, 05:27 PM
Hello pals!

i need your help to make this come true :)

i want to design a flash application to let the user write something in a defined area using a chinese brush style and after let the user print out the drawing just pressing a button.

Actualy i just have some research but i have found applications drawing just simple lines.

How can i make it? Anybody can give me some hints about it?

Thanks!

flashback80
03-20-2008, 05:37 PM
Hello pals!

i need your help to make this come true

i want to design a flash application to let the user write something in a defined area using a chinese brush style and after let the user print out the drawing just pressing a button.

Actualy i just have some research but i have found applications drawing just simple lines.

How can i make it? Anybody can give me some hints about it?

Thanks!

rrh
03-29-2008, 01:38 AM
Tricky, because using an actual brush is influenced by the distance from the page, which you won't have access to from just mouse position. You can maybe fake it by altering the width and darkness of the line based on the speed of the mouse movement.

pseudobiotic
04-07-2008, 09:24 PM
maybe instead of drawing a black line, you draw a bunch of lines of slightly different values of black (dark gray). this could give you some brush texture. also, you could vary the distance of the control points of the line from the mouse based on speed of stroke for the effect rrh suggested.

just an idea. good luck