search
Friday, 2018 October 19, 13:54 — cartoons, neep-neep

there are domains and domains

keenspace.com, a free hosting service for comic strips, changed its name (not long after it was founded) to comicgenesis.com; but the old name still works, as do comicgen.com and (I just learned) toonspace.com and webcomicspace.com. Well, mostly.

Mostly it doesn’t matter whether you look at foo.comicgenesis.com, foo.keenspace.com or foo.comicgen.com; you get the same content. But sometimes images don’t show unless the address is foo.comicgenesis.com.

What’s going on here? Apparently these domains are not transparent synonyms for each other; but why would they be (flawed) mirrors?

Tuesday, 2018 April 17, 23:47 — language

graceless prose

. . . a Kennewick Washington-based [organization] based in Southeastern Washington.

Not only did someone write that, an accountant and a lawyer probably looked it over before it went public, and no one thought to rephrase it

. . . an [organization] based in Kennewick, in Southeastern Washington.

How hard can it be?

(Compare.)

Maybe I ought to have a subcategory for turns of phrase that make me itch; what should I call it?

Wednesday, 2018 February 28, 21:14 — curve-fitting

another problem with my clothoids

I wrote:

each curve hits alternate dots: first exactly, then with offsets pushing it toward the other curve.

I don’t think I’ve mentioned here how the offsets work. ( . . more . . )

Sunday, 2018 February 25, 09:57 — curve-fitting

clothoid weekend update

For context, see past posts in the curve-fitting category that I just created. To recap:

The curves I’ve been drawing are the paths made by a point moving at constant speed at an angle which is a piecewise quadratic function of path length. Curvature, the first derivative of angle, is continuous.

Such a path that hits a given sequence of dots is fully determined if it loops, but otherwise it has two degrees of freedom. For any angle and curvature at the starting dot, there is a quadratic coefficient that lets the path reach the next node, and likewise for the next.

My current code starts with an estimate for the length of each segment (between two dots) and the angle at its midpoint, and uses these basis functions to fit those angles: a constant, a linear function, and a family of “solitons”: piecewise quadratics, zero outside a sequence of four dots, discontinuous in the second derivative at each of those dots. For n segments, there are n-2 solitons, so the constant and linear functions are needed to consume the last two degrees of freedom.

Eventually I noticed a flaw in this scheme: the curvature of the resulting path is the same at both ends, namely the slope of the linear component, because the solitons contribute nothing to it. That’s appropriate for ā€˜Cā€™, but wrong for plenty of other strokes; in ā€˜Sā€™ the end curvatures ought to have opposite sign.

The next thing I’ll try is a least-squares quadratic fit to the whole sequence, then fit the residues with solitons as before. That should be an improvement but it’s not ideal; curvature is a local feature. Perhaps I’ll think of something better later.

Saturday, 2018 February 24, 14:57 — cartoons

second-guessing by halves

Early strips of some webcomics carry the author’s much later comments. Christopher Baldwin (Bruno) and David Willis (Roomies!) are reposting old series that ended. David Morgan-Mar’s (Irregular Webcomic!) schedule these days is two new strips and five comments on old strips each week.

If it were me, I think I’d want to keep coming back to older strips, with ever decreasing frequency. Perhaps like this:

if n even:
    n /= 2
    comment on n
    while n even:
        n /= 2
        add n to backlog
else:
    pick a number from backlog; remove it
    comment on that entry
Wednesday, 2018 February 14, 23:20 — curve-fitting

un-meander


Here, each curve hits alternate dots: first exactly (above), then with offsets pushing it toward the other curve. Below is the result of eight iterations.

With enough iterations, the top of ‘s’ eventually gets a more symmetrical arch, as the change in curvature is spread more evenly.

But many runs get stuck in the fitting phase, and I don’t yet know why. Attacking one likely flaw didn’t help.

Sunday, 2018 February 11, 11:14 — curve-fitting

meander

(Previously: 2014, 2011, 2010; also, less closely related, 2015)

I tried to smoothen a stroke by shifting each dot toward the Euler spiral (aka clothoid, aka Cornu spiral) determined by its four nearest neighbors. That didn’t work so well: small wiggles were removed, but big ones were magnified.

( . . more . . )

Next Page »