Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

244
Vistas
Integrate Flash animation (or derived format) on Fabric.js canvas

I have an animation with transparent background and a HTML canvas.

Before an object is added to the canvas the animation should be played.

The animation source is a Flash file, there is also an HTML/JS (CreateJS) export and an animated GIF available.

The canvas uses Fabric.js running inside a React application.

My question is the following:

What is the recommended way to implement the animation in the described use case?

At the moment my best approach would be trying to integrate the CreateJS export into the React application and "overlay" the Fabric.JS canvas with the CreateJS canvas while playing the animation. This solution could work and sounds complicated and bloated to me, since I would integrate another canvas library (CreateJS besides Fabric.js) and both need to be synchronized in terms of timing / playing the animation correctly.

Here is a similar unanswered question Animated GIF on Fabric.js Canvas

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

I know only one way to add images with fabric.js. First you load your images when the page is loading then you display them on the canvas. But for what I have experienced fabric.js set a lot of feature on every element so it become hard to load if you want to display some thousand of images together.

var canvas = new fabric.Canvas('c');
var imgElement = document.getElementById('my-image');
var imgInstance = new fabric.Image(imgElement, {
  left: 100,
  top: 100,
  angle: 30,
  opacity: 0.85
});
canvas.add(imgInstance);
over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda