Plotting Fractals in WebAssembly

Previous Top Next
6: Zooming In 7: WebAssembly and Web Workers  
7.3 Create the Web Worker 7.4 Adapt the Main Thread Coding  
    7.4.1: Extend the HTML

7.4 Adapt the Main Thread Coding

Here we need to make multiple small changes to the JavaScript coding in our HTML file, as this will now become our “main thread”.

  1. Extend the HTML
  2. Split WebAssembly Coding
  3. Create Web Workers
  4. Send/Receive Web Worker Messages
  5. Adapt WebAssembly Function mj_plot