diff --git a/public/assets/plan-lab.js b/public/assets/plan-lab.js
index eb316fe..5a6b099 100644
--- a/public/assets/plan-lab.js
+++ b/public/assets/plan-lab.js
@@ -485,6 +485,7 @@
}
for (let d = 1; d <= D; d++) { dp.entry[d - 1] += dp.counts[d] * net(1); dp.spent += dp.counts[d] * price(1); dp.treasury += dp.counts[d] * price(1) * PLAN.fee; } // Rule 0, once, when the org is built
deepRender('Reset. Everyone at level 1, you included; entries paid.');
+ const ol = document.getElementById('deepStory'); if (ol) ol.innerHTML = '
Start. You and everyone under you hold level 1. Your ' + cnt(dp.counts[1]) + ' directs paid their entries: ' + $$(dp.entry[0]) + ' to you after the fee. Press Run one wave.
';
}
// n payments of `amt` for level L from depth `from`: skip `skipN`, then the gap rule on aggregate levels
function deepPay(n, from, L, amt, skipN, rem){
@@ -528,11 +529,29 @@
}
if (note) document.getElementById('deepNote').textContent = note;
}
+ function storyLine(html, cls){ const ol = document.getElementById('deepStory'); if (!ol) return; if (ol.firstChild && /Nothing has happened/.test(ol.firstChild.textContent)) ol.innerHTML = ''; const li = document.createElement('li'); if (cls) li.className = cls; li.innerHTML = html; ol.prepend(li); while (ol.children.length > 40) ol.removeChild(ol.lastChild); }
function deepRun(k){
- const before = dp ? dp.levels[0] : 1; let ran = 0;
- for (let i = 0; i < k; i++) { if (dp && dp.levels[0] >= PLAN.maxL) break; deepWave(); ran++; }
+ if (!dp) deepReset();
+ let ran = 0;
+ for (let i = 0; i < k; i++) {
+ if (dp.levels[0] >= PLAN.maxL) break;
+ const lv0 = dp.levels[0], cash0 = dp.cash[0], lic0 = dp.lic[0], adm0 = dp.treasury, above0 = dp.above;
+ deepWave(); ran++;
+ const lv1 = dp.levels[0], dCash = dp.cash[0] - cash0, dLic = dp.lic[0] - lic0;
+ const d = lv0; // the depth whose purchase this wave could reach you
+ const L = d + 1;
+ let html = 'Wave ' + dp.waves + '. Every position bought its next level. ';
+ if (d <= dp.D) html += 'The ' + cnt(dp.counts[d]) + ' positions at depth ' + d + ' bought level ' + L + ' (' + product(L) + ', ' + $$(price(L)) + ' each, ' + $$(net(L)) + ' after the fee), and level-' + L + ' money is yours. ';
+ if (dLic) html += 'The first one was your licence ' + lv1 + ': you were upgraded in the same block and its cost climbed on above you. ';
+ if (dCash > 0) html += 'The rest reached you as cash: ' + $$(dCash) + '. ';
+ if (!dLic && dCash <= 0) html += 'Nothing reached you: that depth is empty at this fill, or you are at the top. ';
+ html += 'Everything the other depths bought paid the people between you and them, or climbed past you. Admin wallet took ' + $$(dp.treasury - adm0) + ' this wave. ';
+ html += 'You: level ' + lv1 + ', reach depth 1 to ' + Math.min(lv1, dp.D) + '';
+ storyLine(html, dLic ? 'lic' : 'cash');
+ }
const after = dp.levels[0];
- deepRender(ran + ' wave' + (ran === 1 ? '' : 's') + ' run. ' + (after > before ? 'You went from level ' + before + ' to ' + after + ' without buying anything: the first payment at each new depth was your licence.' : after >= PLAN.maxL ? 'You hold level ' + PLAN.maxL + ', the top of the ladder. Every payment from every depth is cash from here on.' : 'Your level did not move this time.'));
+ if (after >= PLAN.maxL) storyLine('Top of the ladder. You hold level ' + PLAN.maxL + '. From here every payment from every depth is cash, and there is no level 9: positions ' + PLAN.maxL + ' deep pay the people between you and them.', 'head');
+ deepRender(ran + ' wave' + (ran === 1 ? '' : 's') + ' run.');
}
document.getElementById('deepWave').addEventListener('click', () => deepRun(1));
document.getElementById('deepWave5').addEventListener('click', () => deepRun(5));
@@ -561,7 +580,7 @@
document.getElementById('wmOn').setAttribute('aria-pressed', String(PLAN.wm));
const yl = document.getElementById('youLevel'); yl.max = PLAN.maxL; yl.value = 1; // a new plan starts you at level 1, like everyone
document.getElementById('youLevelVal').textContent = yl.value;
- document.getElementById('deepHead').textContent = 'All ' + PLAN.maxL + ' levels, simulated by depth';
+ { const dh = document.getElementById('deepHead'); if (dh) dh.textContent = 'Watch one position climb all ' + PLAN.maxL + ' levels'; }
svg.setAttribute('aria-label', PLAN.w + '-wide matrix under you');
build(); deepReset();
}
diff --git a/public/plan-lab.html b/public/plan-lab.html
index d35d846..67a982b 100644
--- a/public/plan-lab.html
+++ b/public/plan-lab.html
@@ -155,6 +155,13 @@ tr.you td{background:var(--reach-soft)}
.cmp.new{border-color:var(--reach)}
.fine{margin-top:36px;font-size:12.5px;color:var(--muted);max-width:70ch}
@media (prefers-reduced-motion: reduce){ .node circle,.edge{transition:none} }
+.story{list-style:none;margin:14px 0 6px;padding:0;font-size:14.5px;line-height:1.55}
+.story li{padding:10px 14px;border-radius:12px;background:var(--soft);margin:8px 0;border-left:4px solid var(--line)}
+.story li.lic{border-left-color:var(--lic)} .story li.cash{border-left-color:var(--cash)} .story li.head{border-left-color:var(--reach);font-weight:500}
+details.adv{margin-top:14px;border:1px solid var(--line);border-radius:12px;padding:6px 14px;background:var(--paper)}
+details.adv summary{cursor:pointer;font-family:var(--font-d);font-weight:700;font-size:15px;padding:8px 0}
+details.adv.big{margin-top:30px;padding:8px 18px}
+details.adv.big summary{font-size:18px}
.ctl input[type=text]{max-width:100%;box-sizing:border-box} .controls .ctl{max-width:100%;min-width:0} .money{min-width:0}
@media (max-width:640px){.ctl input[type=text]{width:100%} .ctl select{max-width:100%}}
.node circle,.edge{transition:stroke .25s,fill .25s,stroke-width .25s}
@@ -166,32 +173,31 @@ tr.you td{background:var(--reach-soft)}
Your reach is your level. Width does the rest.
A forced matrix with the same two-directs rule to receive, and three things RM Circle does not have: every payment that reaches you is either cash or your next licence, and the contract knows which; the matrix can be wider than two, so the people you build sit within your reach instead of 28 deep; and prices step up with the product, never double. The working plan is 4 wide, 8 levels, a stepped ladder and the fund-the-gap rule; the other settings are there to compare against.
-
-
Eight rules, and nothing else
-
-
PLACEMENT
Shallowest open slot under your recruiter
Your sponsor is the person whose link you used, always. You are placed in the shallowest open slot in their organisation, breadth-first, so orgs fill wide before they fill deep. Decided 27 Sep.
-
RULE 0
Level 1 is the entry
Everyone pays the same to come in. After the admin fee, half goes to the recruiter and half to the upline directly above the placement, no qualification, never a licence. Someone with no recruiter is assigned to a member who needs a direct. (In this drawn tree every position was recruited by its upline, so both halves land there.)
-
RULE 1
A level-L purchase pays one upline
Skip the first L−2 uplines outright. Then pay the first one with two directs. Same climb as RM Circle today.
-
RULE 2
So depth d pays you when it buys level d+1
The positions at depth d under you are the ones whose level-(d+1) purchases land on you. Depth 1 also pays you its entries.
-
RULE 3
Reach = your level
At level A you collect cash from depths 1 to A. The first payment from depth A is your next licence. Deeper money routes past you, for now.
-
RULE 4
The gap rule
Fund the gap (decided 27 Sep, with the stepped ladder): a payment that reaches someone more than one level behind buys their next licence, and the remainder climbs on as cash. Nobody qualified is ever skipped. The RM Circle skip is kept as a switch for comparison only.
-
RULE 5
Licences reach everyone, cash reaches the qualified
A pass-up that reaches a member with fewer than two directs buys their next licence; the cost climbs on. Cash steps up with recruits: no directs, entries only; one direct, cash from depths 1 and 2; two directs, full reach. Each step counts from the moment it was reached: cash comes from your own directs and from positions created after it. Positions that passed you before keep passing you.
-
RULE 6
The licence cascades, the contract holds nothing
When a licence is issued, its cost moves up that member's chain by Rule 1 and lands on the first person already at that level. Every coin leaves in the block it arrived.
-
-
+
+
-
Simulator
-
You are the black node. Click any position: a small menu tells you where its next purchase would go before you buy, then lets you buy it or mark it as having one direct (dashed, gets skipped). The strip under the tree says in plain words what each purchase did. Run a wave has the whole organisation buy one level, shallow to deep, so you can watch your own level climb without buying anything.
+
Watch one position climb all 8 levels
+
You start at level 1 with a full 4-wide organisation under you, everyone else at level 1 too. Press Run one wave: every position under you buys its next level, and the story tells you what reached you and why. Five waves later you are near the top without buying a thing.
-
-
Your level
1
reach = depth 1 to 1
-
Entries to you
$0
from your directs, no qualification
-
Cash to you
$0
0 payments
-
Licences funded for you
0
worth $0, paid by your org
-
Total received
$0
entries + cash + licences
-
Admin fee, to the receiver wallet
$0
20% out of every price
+
+
Your level
1
reach = depth 1 to 1
+
Entries to you
$0
your directs' level 1
+
Cash to you
$0
0 payments
+
Licences funded for you
0
worth $0
+
Waves run
0
one level per position per wave
+
Went above you
$0
levels that pay uplines higher than you
+
Admin fee
$0
to the receiver wallet
+
+
+
+
+
+
100%
+
+
Nothing has happened yet. Your directs paid their entries when they joined; that is the only money so far. Press Run one wave.
+ Change the plan: width, levels, prices, the rules
Your sponsor is the person whose link you used, always. You are placed in the shallowest open slot in their organisation, breadth-first, so orgs fill wide before they fill deep. Decided 27 Sep.
+
RULE 0
Level 1 is the entry
Everyone pays the same to come in. After the admin fee, half goes to the recruiter and half to the upline directly above the placement, no qualification, never a licence. Someone with no recruiter is assigned to a member who needs a direct. (In this drawn tree every position was recruited by its upline, so both halves land there.)
+
RULE 1
A level-L purchase pays one upline
Skip the first L−2 uplines outright. Then pay the first one with two directs. Same climb as RM Circle today.
+
RULE 2
So depth d pays you when it buys level d+1
The positions at depth d under you are the ones whose level-(d+1) purchases land on you. Depth 1 also pays you its entries.
+
RULE 3
Reach = your level
At level A you collect cash from depths 1 to A. The first payment from depth A is your next licence. Deeper money routes past you, for now.
+
RULE 4
The gap rule
Fund the gap (decided 27 Sep, with the stepped ladder): a payment that reaches someone more than one level behind buys their next licence, and the remainder climbs on as cash. Nobody qualified is ever skipped. The RM Circle skip is kept as a switch for comparison only.
+
RULE 5
Licences reach everyone, cash reaches the qualified
A pass-up that reaches a member with fewer than two directs buys their next licence; the cost climbs on. Cash steps up with recruits: no directs, entries only; one direct, cash from depths 1 and 2; two directs, full reach. Each step counts from the moment it was reached: cash comes from your own directs and from positions created after it. Positions that passed you before keep passing you.
+
RULE 6
The licence cascades, the contract holds nothing
When a licence is issued, its cost moves up that member's chain by Rule 1 and lands on the first person already at that level. Every coin leaves in the block it arrived.
+
+
+
+ Look inside a small org: click positions, run waves
+
+
The drawn tree
+
This tree is only 3 or 4 deep, because a 4-wide tree gets 256 positions wide by depth 4. Waves here stop at level 4 or 5 for that reason. Use it to see one purchase at a time; use the climb above for the whole ladder.
+
You are the black node. Click any position: a small menu tells you where its next purchase would go before you buy, then lets you buy it or mark it as having one direct (dashed, gets skipped). The strip under the tree says in plain words what each purchase did. Run a wave has the whole organisation buy one level, shallow to deep, so you can watch your own level climb without buying anything.
A drawn tree stops early. This runs the same rules on counts per depth with every position qualified (the unqualified and late-qualifier rules need individual positions, so they live in the tree above), so it goes the whole way up the ladder. Every depth's positions buy one level per wave; each purchase climbs the rule, the first payment to a depth one level behind is its licence and the cost keeps climbing, the rest is cash. Fill is how full the matrix is: 100% is a perfect tree (widthd positions at depth d), lower values thin it out with depth the way real organisations do. Entries are paid once, when the org is built.