What does Boutique Aesthetics, Haptic Imagery and Conversion conclude, in numbers, about “Type Scales and Warm Colour: Ratios, Lines and Contrast”?

Answer: Chapter 2 shows that a type ratio of 1.414 breaks a 12-character Chinese title into 3 lines on a phone and that gold on warm cream has a contrast of only 2.75.

Scope of the numbers: Its shoppers, prices, rates and parameters are illustrative models; all calculations are generated by its programs; the book is not legal, financial or psychological advice. Chapter 3 treats photographs as readings of size and feel: under illustrative assumptions a hand-held photograph and a capacity video cut the doubt about size from 4.0 cm to 0.80 cm and abandonment by 0.4710.

中文版

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.414

ratiolevel 4 pxstep 3-4 pxzh chars/linezh linesen lines
1.12525.62.81312
1.20033.25.51022
1.25039.17.8823
1.33350.512.6624
1.41464.018.7534
1.618109.741.9347
Show the full program
# Chapter 2. p03: A modular type scale on a phone. Body text is 16 px
# and level k of the scale is 16 r^k px. The page is 375 px wide with
# 16 px margins, so a line holds 343 px. A Chinese character is one em
# wide; Latin letters average about 0.5 em. We put the product title at
# level 4 and count lines for a 12-character Chinese title and a
# 40-letter English one, and the size step between adjacent levels.
# No sampling.
import math

BASE, LINE = 16.0, 343.0

def sizes(r, n=5):
    return [BASE * r ** k for k in range(n)]

if __name__ == "__main__":
    print("     ratio   level 4 px   step 3-4 px   zh chars/line   zh lines"
          "   en lines")
    for r in (1.125, 1.2, 1.25, 1.333, 1.414, 1.618):
        s = sizes(r)
        h = s[4]
        zh = int(LINE // h)
        en = int(LINE // (0.5 * h))
        print("     {:5.3f}   {:10.1f}   {:11.1f}   {:13d}   {:8d}   {:8d}"
              .format(r, h, s[4] - s[3], zh, math.ceil(12 / zh),
                      math.ceil(40 / en)))

Single source and citation

Fan, Y. (2026). Computational Aesthetics of Boutique Luxury Web Design, Haptic Mental Imagery and Female Conversion Psychology (Version 1.0.0), Chapter 2: Type Scales and Warm Colour: Ratios, Lines and Contrast. 5D Library. DOI pending

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

BibTeX
@book{fan2026111,
  author    = {Fan, Yafu},
  title     = {Computational Aesthetics of Boutique Luxury Web Design, Haptic Mental Imagery and Female Conversion Psychology},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book