The latest

Meetup Group is starting:

Code408

Campbell, CA
7 Scripters

Special interest group for JavaScript programmers, software engineers, and coding enthusiasts. Whether you are new to programming, or are an expert with coding experience, thi…

Next Meetup

aCalendar.js Table

Monday, Sep 28, 2020, 9:45 AM
2 Attending

Check out this Meetup Group →

Bezier Miter Join

When line segments join at sharp angles “spikes” are produced. This test image shows at which range they are cut off.

miterjoin

%!PS BezierMiterJoin.ps
2 2 scale
20 20 translate
/a 10 def
0 20 280 {
    /x exch def
    0 0 moveto
    x 300 lineto
    100 200 200 100 300 0 curveto
    } for
10 setlinewidth
strokepath
0 setlinewidth
stroke showpage

Cascade

# CASCADE
#set whatever "•[-{wordset} 0-9]*∂t"
set whatever "•[-{wordset}., ''&]*∂t" #NEED THE TAB?

find /{whatever}/
set theString "`catenate §`"

loop
    find /{whatever}/
    if "`catenate §`" == "∂t"
        replace § "{theString}"
    else
        set theString "`catenate §`"
        replace § "*"
        end
    if "{theString}" == ""
        break
        end
    end

For the coding challenged