Log inGet started
World

Sillage

Branchmain
Branchesmain
Commit27e62798a4

README.md

sillage_sim

The model that makes a perfume a shape in time, and the only thing in Sillage that decides whether a formula is good.

A perfume here is never judged as a mixture. Every material has a volatility — a peak and a life — so a formula is a curve that rises, turns and falls, and the client's brief is a shape drawn on the same axes. Two formulas built from exactly the same five materials, in different doses, are different objects and get different answers.

What it holds

Sim.behaviour[id]peak, life, power, price, ceiling for all 36 catalogue materials
Sim.interactionsordered pairs — one material fixes, smothers or sours another
Sim.simulate(formula){ [id] = drops } → a Curve: 96 samples on the log time axis, per-family breakdown, the perfumer's notes on what happened
Sim.brief(n)the nth of six commissions — client, letter, target bands, budget, fee
Sim.judge(brief, curve)per-phase scores and the client's reply, stamped chef-d'œuvre, accepté or refusé

Identity and appearance live in sillage_core — name, family, vial, colour. Only behaviour lives here, keyed on the same id, so the organ, the ledger and the graph can never disagree about what a material is.

The units

Intensity is measured against Sim.reference: 1.0 is a full, properly dosed accord, and every brief's bands are written in those units. Curve.samples[i].norm is in them too, so the graph draws the player's line and the ghosted target on one scale. A drop is Sim.dropGrams of the batch, which is how a dose becomes a spend.

What the other slices call

  • composition — Sim.strike(formula) to get the curve, then emits strip:done; the sim judges and publishes verdict:given itself.
  • drydown — curve.samples for the ink line, sample.byFamily for the colour bands underneath, and Sim.targetBand(brief) for the ghosted shape printed under it.
  • economy — Sim.behaviour[id].price, Sim.dropGrams, Sim.costOf(formula).
  • presentation — Sim.stamp[outcome] for the wording, Sim.count() for the length of a career.

The six

  1. Mme Colette Vaugirard — an eau for the morning: bright, then gone.
  2. M. Étienne Barral, gantier — green, and it must survive the leather.
  3. Mlle Solange Aury — a rose that lasts from the curtain to supper.
  4. La Maison Duvelleroy — a chypre, base heavier than the heart.
  5. Le Comte de Rochefort — an evening thing, largest at midnight.
  6. Maison Perrachon — Sillage itself. The one worth the whole career.

Every one of them can be satisfied by more than one set of materials, and every one of them can be failed while using exactly the materials it asks for. That is the point: the brief states the shape, never the recipe.