From 7b4b068cadc0af8ec7e930e1c2b429e945f96984 Mon Sep 17 00:00:00 2001 From: Pushkar Joshi Date: Mon, 12 Mar 2012 15:21:59 -0700 Subject: seemingly working version of the calligraphic brush (seems to work with transparency and large stroke widths...seems to work better with smoothing) --- js/lib/geom/brush-stroke.js | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) (limited to 'js') diff --git a/js/lib/geom/brush-stroke.js b/js/lib/geom/brush-stroke.js index 595a6a63..4c42539a 100755 --- a/js/lib/geom/brush-stroke.js +++ b/js/lib/geom/brush-stroke.js @@ -424,34 +424,21 @@ var BrushStroke = function GLBrushStroke() { var startPos = [-halfNumTraces*deltaDisplacement[0],-halfNumTraces*deltaDisplacement[1]]; var brushStamp = []; - /*for (t=0;t