Private colorColor cache for performance
Private configTrail configuration
Private currentCurrent timestamp for trail points
Private p5p5 instance reference for color creation
Private Readonly statsPerformance monitoring
Private trailsAgent trails map
Private addPrivate calculatePrivate captureCapture agent state snapshot
Clear trail for specific agent
Private createPrivate createCreate trail point from position and agent
Private cullPrivate drawPrivate drawExport trail data for analysis
Private getGet configuration
Private getPrivate getGet performance statistics
Get trail for specific agent
Private getGet trail style for segment
Private hasCheck if agent state has changed significantly
Private isPrivate renderPrivate renderPrivate renderPrivate shouldPrivate updateUpdate configuration
Private updatePrivate updateUpdate trail visual properties
AgentTrailSystem - Manages movement trails for all agents
Educational Context: Visualizes agent movement patterns and behavioral changes over time, helping users understand spatial dynamics and decision-making processes.