Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

160
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda