Questions tagged as 'canvas'

0
answers

How to consume a web service in laravel first and then visualize it in canvas?

PROBLEM I am trying to consume a web service that returns a series of data to me, I want to visualize that data through canvas. What I intend is to make statistics with the consumed data and visualize it in a bar graph created with canvas....
asked by 02.11.2018 / 22:21
1
answer

Adapt canvas to the screen

I have a canvas with phaser with the following dimensions: game = new Phaser.Game(480, 600, Phaser.AUTO, ""); This I show on the computer and there is no problem, it is the measurement I need, but when I visualize it from the mobile I would...
asked by 23.10.2018 / 23:17
0
answers

Scrolls move at the time of signing

I'm currently making a digital signature which when I'm going to sign it moves with the scroll I've tried several times I think it's a css problem here I have a video which I made to show the error with details link this is my html5 <s...
asked by 18.10.2018 / 21:06
0
answers

Coordinate error in digital signature canvas

I find myself with a coordinate error in canvas, I think it is of coordinates since I place in the top of my 1 line of code and it works well but I put it down and it does not let me draw this is my code var canvas = document.getElementB...
asked by 12.10.2018 / 18:29
0
answers

error in digital signature with canvas

I was implementing the code of a digital signature made with canvas works correctly but when I implement it in my project I get this error     
asked by 10.10.2018 / 14:31
1
answer

collisions on the canvas of 2 joined elements

bothering, what happens is that I have a molecule and I already have the collision with the canvas so that these molecules do not come out and bounce, the problem I have is that the collision is generated in my red atom (red circle) and not on t...
asked by 24.09.2018 / 22:45
0
answers

ScrollView with static views

I'm trying to develop a graph that has two types of views, Views A and Views B . When doing horizontal scroll only Views B must be moved, but when doing vertical scroll all views must be moved, including the A views . This is the...
asked by 11.07.2018 / 01:03
0
answers

Problem with imagecreatefromstring from Base64 Php

I have a problem with the imagecreatefromstring function in Php. 1- I have a file input in the front-end (html) of my web page, where the user selects a photo. 2- When the user selects an image, a javascript function executes a routine tha...
asked by 12.07.2018 / 18:43
1
answer

PHP: Make capture with html2canvas.js and save it to a server

I see that with this library we can print the resulting image somewhere in the DOM or even download it. What I need to save it on a server with php using ajax. In the following way I could store the img to pass it later by ajax. var data =...
asked by 14.06.2018 / 23:54
1
answer

Is there a way to make a screenshot but only a "div" using javascript?

I would like to know if there is any way to make a screenshot using javascript, I found how to make a screenshot of the whole screen but what I need is to capture only what is contained in a div. Maybe you can help me modify the script, thank...
asked by 05.06.2018 / 19:01