Processing Sketch displayed on web browser (using processing.js) causes the browser to hang
              in 
             Processing with Other Languages 
              •  
              1 year ago    
            
 
           Hi,
I have been trying to display a sketch built using processing on a web browser (FireFox) with the help of processing.js
However, my browser window hangs (Not responding message in the title bar) for a couple of minutes before the sketch can be successfully loaded. I know this time is being taken as lot of computations(like reading from a huge text file several times) are being carried out by the processing code before it can display the sketch.
However, this gives a bad user experience.
Can someone help me with the resolution of this issue ? Tried alot of things but none seem to work.
 
              
              1  
            
 
            