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

Project Samples

Project Activity

See All Activity >

Categories

Data Formats

License

MIT License

Follow Fanvas

Fanvas Web Site

You Might Also Like
ThreatLocker Cybersecurity Software Icon
ThreatLocker Cybersecurity Software

Giving you complete control to help you manage your applications and better protect your endpoints.

The Zero Trust security solution that offers a unified approach to protecting users, devices, and networks against the exploitation of zero day vulnerabilities.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Fanvas!

Additional Project Details

Programming Language

ActionScript

Related Categories

ActionScript Data Formats Software

Registered

2025-09-23