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
| ratio | level 4 px | step 3-4 px | zh chars/line | zh lines | en lines |
| 1.125 | 25.6 | 2.8 | 13 | 1 | 2 |
| 1.200 | 33.2 | 5.5 | 10 | 2 | 2 |
| 1.250 | 39.1 | 7.8 | 8 | 2 | 3 |
| 1.333 | 50.5 | 12.6 | 6 | 2 | 4 |
| 1.414 | 64.0 | 18.7 | 5 | 3 | 4 |
| 1.618 | 109.7 | 41.9 | 3 | 4 | 7 |
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
- Chapter 1 · Whitespace as a Signal: Clutter, Trust and the First Three Seconds
- Chapter 3 · Touch at a Distance: Haptic Imagery and the Doubt About Size
- Chapter 4 · The Order of the Gallery and the Limits of a Test
- Chapter 5 · Benign Friction: Moving Regret Before the Money Is Spent
- Chapter 6 · Peak and End: What the Second Purchase Remembers
- Chapter 7 · Season, Place, Material, Skill; the Poem of Detail; and Veblen
- Chapter 8 · Practice: One Month, Layer by Layer, and One Test Protocol