+178
-15
vis/08/generate.ts
+178
-15
vis/08/generate.ts
······<div class="legend-item"><div class="legend-box junction"></div> Isolated Junction (small)</div>···<div style="margin-top: 5px; font-size: 11px;"><a href="../index.html">[Return to Index]</a></div>·········-statsInfo.textContent = \`Circuits: \${stage.circuits} | Largest: \${stage.largest} | Product: \${stage.product.toLocaleString()}\`;
···+// Build animation stages for Part 1 (first 1000 connections) and Part 2 (until single circuit)···<div class="legend-item"><div class="legend-box junction"></div> Isolated Junction (small)</div>···<div style="margin-top: 5px; font-size: 11px;"><a href="../index.html">[Return to Index]</a></div>···+// Build animation stages for Part 1 (first 1000 connections) and Part 2 (until single circuit)+console.log('Part 1: After 1000 connections, product =', stages[Math.min(1000, stages.length - 1)].product);+console.log('Part 2: Single circuit at connection', part2ConnectionIndex, ', product =', part2Product);······+statsInfo.textContent = \`Circuits: \${stage.circuits} | Largest: \${stage.largest} | Part 1: \${part1Result.toLocaleString()} | Part 2: \${part2Result.toLocaleString()}\`;
+53
-15
vis/08/index.html
+53
-15
vis/08/index.html
···<div class="legend-item"><div class="legend-box junction"></div> Isolated Junction (small)</div>···<div style="margin-top: 5px; font-size: 11px;"><a href="../index.html">[Return to Index]</a></div>·········-statsInfo.textContent = `Circuits: ${stage.circuits} | Largest: ${stage.largest} | Product: ${stage.product.toLocaleString()}`;
···<div class="legend-item"><div class="legend-box junction"></div> Isolated Junction (small)</div>···<div style="margin-top: 5px; font-size: 11px;"><a href="../index.html">[Return to Index]</a></div>···+// Build animation stages for Part 1 (first 1000 connections) and Part 2 (until single circuit)+console.log('Part 1: After 1000 connections, product =', stages[Math.min(1000, stages.length - 1)].product);+console.log('Part 2: Single circuit at connection', part2ConnectionIndex, ', product =', part2Product);······+statsInfo.textContent = `Circuits: ${stage.circuits} | Largest: ${stage.largest} | Part 1: ${part1Result.toLocaleString()} | Part 2: ${part2Result.toLocaleString()}`;