Just another quick tip. Sometimes I create python to use as a demonstration. Here is an example:
This is a double pendulum (sorry for the lack of embeds – I hope to fix that soon). But there is a problem when you use the code as an embedded demo. What happens if a user is reading over a blog post using the scroll wheel? If they mouse over the trinket embed and scroll, they will zoom out and not see anything.
You can fix this by adding the following:
Yes, just add scene.userzoom=False