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
You Might Also Like
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Fanvas!