Fanvas is a tool by Tencent that allows users to convert SWF (Flash) animations into HTML5 canvas animations. It consists of two parts: a parser implemented in ActionScript that reads the SWF file and exports JSON. It also provides a JavaScript runtime library that interprets that JSON and renders the animations via the HTML5 canvas. It aims to support vector and bitmap content. It reduces the file size of the exported animations, and provides efficient playback through techniques like dirty‐region detection.
Features
- Conversion of SWF (including vectors and bitmaps) directly into HTML5 canvas animations
- Efficient run‐time library with features like dirty‐region detection, bitmap caching
- Produces smaller JSON / data files than comparable tools (~20‐50% smaller in many cases)
- Light weight of runtime (obfuscated) – gzip size is small (≈10 KB) vs competitors’ (often >100 KB)
- Open source, allowing for customization / extension
- Support for both vector and bitmap SWF content
Categories
Data FormatsLicense
MIT LicenseFollow Fanvas
Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform
Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Fanvas!