Looking through all the possibilities and combinations, there's very little in any of the Twine story formats or editors/compilers which will help you. TweeGo allows for easy integration of third-party JS code and embedding of SVG images by dropping the JS and SVG files into one of the folders you use for compiling the final result, but that's the extent of it.
You will have to go pure HTML/JS.