Fix Javascript Canvas Code

  • Estado: Closed
  • Prêmio: $49
  • Inscrições Recebidas: 2
  • Vencedor: panpur

Síntese do concurso

Provided are the links to the code with the example for perspective image transformation done with Javscript and Canvas.
Code on GIT: [login to view URL]
Working Example: [login to view URL]
I have also attached the working example. (just unzip and run [login to view URL] file)
This code works great until the image is flipped (mirrored).
When flipped horizontally, the image disappears. Please see the attachment.
When flipped vertically, the image is distorted.

I need to find the solution to get proper transformation for both: vertical and horizontal flipping.
I see three possible solutions:
1. Fix the current code. This is a preferred solution.
2. Modify current code with adding optional horizontalFlip, verticalFlip parameter. (Flipping the image before doing the transformation.)
3. Write a different code that will give comparable results. It would need to be done without any heavy external libraries.
I would also prefer not using WebGL. Also, the CSS solution would not work as it will have browser compatibility issues.

Please let me know if you have any questions.

Habilidades Recomendadas

Feedback do Empregador

“Very good experience.”

Foto do perfil ashevillemnt, United States.

Principais inscrições deste concurso

Ver Mais Inscrições

Painel de Esclarecimento Público

  • webdevangel
    webdevangel
    • 4 meses atrás

    could you send me your working files ?

    • 4 meses atrás
    1. ashevillemnt
      Proprietário do Concurso
      • 4 meses atrás

      sure, I will send them to you soon

      • 4 meses atrás
    2. ashevillemnt
      Proprietário do Concurso
      • 4 meses atrás

      I have attached a working file to the project.
      Please let me know if you have any questions.
      Thanks

      • 4 meses atrás
  • webdevangel
    webdevangel
    • 4 meses atrás

    I have many experience with perspectivejs.

    • 4 meses atrás
  • yousufkhan39911
    yousufkhan39911
    • 4 meses atrás

    your code is not running just showing an image.

    • 4 meses atrás
    1. ashevillemnt
      Proprietário do Concurso
      • 4 meses atrás

      Are you talking about this link? http://www.html5.jp/test/perspective_canvas/demo1_en.html

      • 4 meses atrás

Mostrar mais comentários

Como começar com concursos

  • Publique seu concurso

    Poste seu Concurso Rápido e fácil

  • Receba toneladas de entradas

    Obtenha Toneladas de Inscrições De todo o mundo

  • Premie a melhor inscrição

    Premie a melhor inscrição Baixe os arquivos - fácil!

Poste um Concurso ou Junte-se a nós Hoje!