new VelocityField(width, height, numSeedPoints)
    
    Parameters:
    
    
    
        
        | Name | 
        
        Type | 
        
        
        Description | 
    
    
    
    
        
            
                width | 
            
            
            
                
number
            
             | 
            
            
            the width of the field | 
        
    
        
            
                height | 
            
            
            
                
number
            
             | 
            
            
            the height of the field | 
        
    
        
            
                numSeedPoints | 
            
            
            
                
number
            
             | 
            
            
            number of seed points | 
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    - Source:
 
    
    
    
    
    
    
     
    
    
    
     
    
    
    
        Methods
        
            
    
    
    
    get average field data for a given point
    Parameters:
    
    
    
        
        | Name | 
        
        Type | 
        
        
        Description | 
    
    
    
    
        
            
                x | 
            
            
            
                
number
            
             | 
            
            
            x coordinate | 
        
    
        
            
                y | 
            
            
            
                
number
            
             | 
            
            
            y coordinate | 
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    - Source:
 
    
    
    
    
    
Returns:
        
    - 
        Type
    
 
    - 
        
VelocityFieldPoint
    
 
    
        
            
    
    
    
    Parameters:
    
    
    
        
        | Name | 
        
        Type | 
        
        
        Description | 
    
    
    
    
        
            
                x | 
            
            
            
                
number
            
             | 
            
            
            x coordinate | 
        
    
        
            
                y | 
            
            
            
                
number
            
             | 
            
            
            y coordinate | 
        
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    - Source:
 
    
    
    
    
    
Returns:
        
    - 
        Type
    
 
    - 
        
VelocityFieldPoint
    
 
    
        
            
    
    initCustomField()
    
    inits a custom velocity field
    
    
    
    
    
    
    
    
    
    
    
    
    
    - Source: