use ChatGPT to write code

Meshmag