What does Brush Smoothness and Fractal Dimension conclude, in numbers, about “Minimum Jerk: the Quintic Stroke and a Dimensionless Jerk”?

Answer: Chapter 1 derives the quintic stroke: peak speed is 1.875 times mean speed, the jerk cost is 720, a cycloidal profile costs 1.0823 times as much and one stop midway 16 times as much, and a dimensionless jerk is introduced that ignores size and tempo.

Scope of the numbers: Trajectories, paper, ink and scoring parameters are illustrative; all calculations are generated by the book's programs; the book is general analysis, not business, design or medical advice. Marked boxes separate published evidence, runnable Python calculations (21 programs), classical sources and the author's hypotheses.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 1.0823, 1.875, 16, 720

profilejerk costx min-jerkpeak v
quintic min-jerk720.001.00001.875
cycloidal779.271.08232.000
septic min-snap1120.001.55562.188
skewed beta 2,31234.291.71432.074
two halves, stop11520.0016.00001.875
cycloidal exact 8 pi^4 = 779.27
two halves exact 16 x 720 = 11520
Show the full program
# Chapter 1. p12: jerk cost of five rest-to-rest speed profiles
# Model: every profile moves a unit length in unit time and starts and
# ends at rest with zero acceleration; the cost is the integral of
# squared jerk. Profiles: the quintic minimum-jerk (Flash and Hogan
# 1985), the cycloidal x = u - sin(2 pi u) / (2 pi), the septic
# minimum-snap polynomial, a skewed beta profile v = 60 u^2 (1 - u)^3
# that peaks early, and two quintic halves with a stop in the middle.
# All profiles are textbook shapes; nothing here is measured data.
import math


def simpson(f, a=0.0, b=1.0, n=4000):
    h = (b - a) / n
    terms = [f(a), f(b)]
    for i in range(1, n):
        terms.append((4.0 if i % 2 else 2.0) * f(a + i * h))
    return math.fsum(terms) * h / 3.0


def quintic(u):
    v = 30 * u ** 2 - 60 * u ** 3 + 30 * u ** 4
    return v, 60 - 360 * u + 360 * u ** 2


def cycloid(u):
    w = 2 * math.pi
    return 1 - math.cos(w * u), w * w * math.cos(w * u)


def septic(u):
    v = 140 * u ** 3 - 420 * u ** 4 + 420 * u ** 5 - 140 * u ** 6
    j = 840 * u - 5040 * u ** 2 + 8400 * u ** 3 - 4200 * u ** 4
    return v, j


def skewed(u):
    v = 60 * (u ** 2 - 3 * u ** 3 + 3 * u ** 4 - u ** 5)
    return v, 60 * (2 - 18 * u + 36 * u ** 2 - 20 * u ** 3)


def two_halves(u):
    # each half covers 1/2 in time 1/2: v and j rescale by 1 and 4
    w = 2 * u if u < 0.5 else 2 * u - 1
    v, j = quintic(w)
    return v, 4 * j


def cost(fn):
    if fn is two_halves:
        parts = [simpson(lambda u: fn(u)[1] ** 2, 0.0, 0.5),
                 simpson(lambda u: fn(u)[1] ** 2, 0.5, 1.0)]
        return math.fsum(parts)
    return simpson(lambda u: fn(u)[1] ** 2)


def peak(fn):
    return max(fn(k / 4000)[0] for k in range(4001))


if __name__ == "__main__":
    rows = (("quintic min-jerk", quintic), ("cycloidal", cycloid),
            ("septic min-snap", septic), ("skewed beta 2,3", skewed),
            ("two halves, stop", two_halves))
    base = cost(quintic)
    print("profile             jerk cost   x min-jerk  peak v")
    for name, fn in rows:
        c = cost(fn)
        print("{:<18s} {:>10.2f}   {:>8.4f}   {:.3f}".format(
            name, c, c / base, peak(fn)))
    print("cycloidal exact 8 pi^4 = {:.2f}".format(8 * math.pi ** 4))
    print("two halves exact 16 x 720 = {:d}".format(16 * 720))

Single source and citation

Fan, Y. (2026). Minimum-Jerk Brush Trajectories, Capillary Ink Flow in Flying-White Strokes and the Fractal Dimension of Stroke Beauty (Version 1.0.0), Chapter 1: Minimum Jerk: the Quintic Stroke and a Dimensionless Jerk. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-229 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026229,
  author    = {Fan, Yafu},
  title     = {Minimum-Jerk Brush Trajectories, Capillary Ink Flow in Flying-White Strokes and the Fractal Dimension of Stroke Beauty},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book