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

167
Vistas
Can I assign ID to an image drawn in HTML5 canvas?

I am currently working on a quantum cryptography simulation game. I need to animate the QC process.

I first draw some images on the HTML5 canvas. the canvas part of my game

Now, I would like to set the visibility of certain images (like hiding some images when the game is first loaded or changing the images based on the situation). I have done some researches that ID is required to change the visibility of the images or do other functions. For the whole canvas part, I took a reference from W3Schools HTML Game (link: https://www.w3schools.com/graphics/game_intro.asp).

My questions are:

  1. If ID is required, how can I assign the IDs to the images?
  2. If ID is not required, how can I manipulate the images?

Thanks.

about 4 years ago · Juan Pablo Isaza
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