aaaand applying the calligraphic effect to handwriting data (specifically, random glyphs from https://github.com/aparrish/chars74k-json-dump)
composing characters by splitting strokes from two randomly-selected handwritten forms from the chars74k down the middle, then drawing the points from the left portion of the first character and the points from the right portion of the second character. the strokes all belong to their own "shapes" here so you get a bit of bleed-through for each because of alpha transparency. pretty happy with this, looks just like someone messing around with an ink brush
I think the problem with the method I selected for controlling the width of the curve (symmetrical points offset along the normal, multiplied by a fixed list of values) is that you can pretty much *only* get ink brush-esque effects. might have to experiment with also being able to set the thickness based on, e.g., the direction of the tangent at each point on the curve? something?
@aparrish this is aesthetically satisfying
@aparrish it kinda looks like some of the characters make artificial vertical strokes? Is that intentional?
@zatnosk not sure what's causing that—definitely not intentional. I think I just need to make sure that parts of the characters disconnected by the partition don't end up as single strokes
Some calligraphy pens would be well modeled by simply offsetting one side from the other by a fixed vector.
@anne yeah I know but that's not very exciting to implement
If you want interesting, how about 3d "brush strokes"? I have a printer...
Thickness based on radius of curvature night be interesting - or radius and direction, perhaps, with cut corners or sloppy turns. Or wider in curves thinning out in straight bits where the "pen" can go faster? Or if you're using parametric splines not parameterized by arc length, you have meaningful velocity and acceleration vectors. You could model a pen following the commanded curve poorly.
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!