'use client' import { useState } from 'react' import dynamic from 'next/dynamic' const FundingFunnel = dynamic(() => import('@/components/FundingFunnel'), { ssr: false, loading: () => (
Loading visualization...
), }) export default function Home() { const [view, setView] = useState<'single' | 'multi'>('single') return (
{/* Header */}

Threshold-Based Flow Funding

Interactive visualization of funding flows with minimum and maximum thresholds

{/* Legend */}
Critical Zone (below min)
Healthy Zone (min to max)
Overflow Zone (above max)
{/* Funnel Visualizations */} {view === 'single' ? (
) : (
)} {/* Instructions */}

How It Works

  • 1. Minimum Threshold — Below this level, the funnel narrows, restricting outflow. Funds are conserved until the minimum is reached.
  • 2. Healthy Range — Between min and max, the funnel has straight walls. Normal operations with balanced in/out flows.
  • 3. Maximum Threshold — Above this level, excess funds overflow and can be redistributed to other pools or purposes.
  • Drag the threshold lines to adjust minimum and maximum levels interactively.
) }