WebGPU and App Development with NGSolve

Preparations:

python -m pip install --no-cache --upgrade https://ngsolve.org/files/webapp/webapp_client-0-py3-none-any.whl ngsolve-webgpu numpy websockets watchdog

App development

Create a new app. The code below will create a new directory (demo_app by default) with the app code.
python -m webapp_client.create_app
      

Run the app with

python -m demo_app --dev
      
Now a browser should open and changes in the code are automatically affecting the app in the browser.