Header image for cartpole

cartpole

Prompt

build a pid controlled cartpole in js canvas. output one html file. make it interactive. crucially, it should actually balance - tune parameters suitably.

A system prompt was added to support web rendering