What does Biophilic Fractal Interfaces and First-Screen Trust conclude, in numbers, about “Box Counting: Turning Natural Texture into a Dimension”?
Answer: The results follow a systematic pattern: the higher the theoretical dimension, the further below it the estimate falls. At H equal to 0.9 the theoretical value is 1.10 and the mean estimate is 1.144, slightly too high. At H equal to 0.5 the theory says 1.50 but the mean estimate is only 1.409. At H equal to 0.3 the theory says 1.70 and the mean estimate is 1.554. The cause is the finite number of points. The rougher the curve, the finer the boxes needed to capture all its wiggles, and four thousand points cannot support such fine levels. The standard deviation across twenty curves lies between 0.024 and 0.041, which shows that different random seeds under the same parameter also produce visible differences.
Scope of the numbers: Parameters are illustrative; all calculations come from its programs; it is neither medical nor personalised business advice. Chapter 3 finds, in an illustrative model, that a first screen of a few seconds retains at most 0.125 of a ten-minute laboratory effect, and that testing 24 markers at once gives a 0.708 chance of at least one false alarm.
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: 0.024, 0.041, 0.3, 0.5, 0.9, 1.10
| midpoint displacement, 4,097 points, 20 profiles per H | |||||
| H | D=2-H | mean D | sd | min | max |
| 0.9 | 1.10 | 1.144 | 0.033 | 1.087 | 1.193 |
| 0.7 | 1.30 | 1.276 | 0.041 | 1.228 | 1.355 |
| 0.6 | 1.40 | 1.353 | 0.032 | 1.302 | 1.436 |
| 0.5 | 1.50 | 1.409 | 0.026 | 1.360 | 1.454 |
| 0.4 | 1.60 | 1.495 | 0.037 | 1.409 | 1.578 |
| 0.3 | 1.70 | 1.554 | 0.024 | 1.513 | 1.600 |
| H values whose mean D lands in 1.3 to 1.5: 0.6, 0.5, 0.4 |
Show the full program
# Chapter 1. p12: midpoint displacement profiles and their box dimension
# Random midpoint displacement (Fournier, Fussell and Carpenter 1982)
# builds a ridge line with Hurst exponent H; theory says the graph has
# D = 2 - H. We box-count the graph (column min-max cover) and compare.
# Twenty profiles per H; seeds fixed; all values illustrative.
import math
import random
import statistics
def profile(h, levels, rng):
n = 2 ** levels
y = [0.0] * (n + 1)
y[n] = rng.gauss(0.0, 1.0)
step, scale = n, 1.0
while step > 1:
half = step // 2
scale *= 0.5 ** h
for i in range(half, n, step):
y[i] = (y[i - half] + y[i + half]) / 2 + rng.gauss(0.0, scale)
step = half
lo, hi = min(y), max(y)
return [(v - lo) / (hi - lo) for v in y]
def graph_dim(y, kmin=2, kmax=8):
n = len(y) - 1
xs, ys = [], []
for k in range(kmin, kmax + 1):
m = 2 ** k
per = n // m
count = 0
for c in range(m):
seg = y[c * per:(c + 1) * per + 1]
a = min(int(min(seg) * m), m - 1)
b = min(int(max(seg) * m), m - 1)
count += b - a + 1
xs.append(k * math.log(2))
ys.append(math.log(count))
mx, my = statistics.fmean(xs), statistics.fmean(ys)
sxy = math.fsum((u - mx) * (v - my) for u, v in zip(xs, ys))
sxx = math.fsum((u - mx) ** 2 for u in xs)
return sxy / sxx
rng = random.Random(41802)
print("midpoint displacement, 4,097 points, 20 profiles per H")
print("{:>5} {:>9} {:>8} {:>7} {:>7} {:>9}".format(
"H", "D=2-H", "mean D", "sd", "min", "max"))
band = []
for h in (0.9, 0.7, 0.6, 0.5, 0.4, 0.3):
ds = [graph_dim(profile(h, 12, rng)) for _ in range(20)]
m = statistics.fmean(ds)
print("{:>5.1f} {:>9.2f} {:>8.3f} {:>7.3f} {:>7.3f} {:>9.3f}".format(
h, 2 - h, m, statistics.stdev(ds), min(ds), max(ds)))
if 1.3 <= m <= 1.5:
band.append(h)
print("H values whose mean D lands in 1.3 to 1.5:",
", ".join("{:.1f}".format(v) for v in band))Single source and citation
Fan, Y. (2026). Biophilic Botanical Fractals and Geometric Symmetry in Interfaces: Subconscious Stress Reduction and First-Impression Trust Lift (Version 1.0.0), Chapter 1: Box Counting: Turning Natural Texture into a Dimension. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-418 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026418,
author = {Fan, Yafu},
title = {Biophilic Botanical Fractals and Geometric Symmetry in Interfaces: Subconscious Stress Reduction and First-Impression Trust Lift},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 2 · The Preference Band: Evidence, Sample Size and Drift for Moderate Fractal Dimension
- Chapter 3 · What "Subconscious Stress Reduction" Measures: Laboratory Stress Markers
- Chapter 4 · Symmetry Order and Entropy: Which Entropy Is Low?
- Chapter 5 · The Ratio: Best Intervals for the Organic Share, Contrast Gates and the Golden Ratio
- Chapter 6 · First-Screen Trust: Fifty Milliseconds, A/B Tests and the Mediation Chain
- Chapter 7 · Classical Sources East and West: the *Yuanye*, the Great Commentary, Vitruvius and Mandelbrot
- Chapter 8 · Field Tools and Checker Specifications: the Interface Trust Ledger and a Pre-Registered Test