Questions tagged as 'canvas'

1
answer

Client side image manipulation

A challenge has arisen, I need to know how / what tools can help me create an area that I can manipulate on the client side. I need to develop a website that creates custom shirts, something like vitrinepix , I'm not that good dev front-end but...
asked by 19.12.2015 / 16:07
1
answer

Distorting an image using HTML 5 Canvas

I need to apply this image: Indifferentforms,likecups,bracelets,T-shirts,liketheseexamples I tried with component AspJpeg , but I saw with the developers that made this component that it is not possible to round up the way I need, ju...
asked by 02.10.2015 / 22:26
1
answer

How to determine the number of edges of the radarchart?

I'm using RadarChart from Chart.js . I have this Fiddle working. Home Notice that in this example the graph is mounted dynamically according to the data entered. Home Well, but I would like to determine the amount of edges generated, regard...
asked by 13.08.2015 / 21:52
2
answers

OnClick on Canvas

I have an image and on it is drawn a Canvas. I need that when I click on the image it opens in the normal size of it with the drawn canvas object. For now I click on the image and only open it, the canvas does not appear. That's because I do not...
asked by 26.06.2015 / 14:52
1
answer

Dimension of a display - Android Canvas

I'm doing tests with an image on Android using the Canvas class. I am using a Samsung Galaxy S3 Mini and a Samsung Galaxy S2. Physically the devices are different (the S2 screen is larger), but the returns of the methods below are the same:...
asked by 20.01.2015 / 19:41
1
answer

Recover disk image via callback

Well, I'm developing a feature that aims to upload an image (this step has already been done) and right after I "retrieve" it to select some color in it ( ColorPicker with Canvas ), just like this example . The problem is that I do not kno...
asked by 13.01.2015 / 19:04
1
answer

touchEnter / touchLeave do not work

Talk the guys! My question is this: Why are these touch events not being recognized when I tap the DOM element, or when I leave it? var canvasControlsHUD = document.getElementById("canvasControlsHUD"); canvasControlsHUD.addEventListener('touc...
asked by 17.08.2014 / 19:43
0
answers

Drawing in the middle of the screen with the android canvas

How to draw in the middle of the screen, in all the attempts I made I was able to just stretch the drawing and not move it to the center of the screen. public class Carta { private static int ALTURA_DA_CARTA= 200; private static int LARGURA_D...
asked by 12.11.2018 / 00:34
0
answers

Canvas draw grid as backgound

I searched, but did not find much information. What I want to do is draw a grid as a background on the canvas. I saw some examples with svg and others directly on canvas. Assuming I'll be able to zoom in and drag the canvas scenery among other i...
asked by 22.08.2018 / 01:49
1
answer

Error in code on canvas

I'm using a jsfiddle code ( link ) to create lines, through the canvas (over a map, to make a route) - I'm really started programming! The canv is there, the lines appear and work, but this error always appears, which increases all the time....
asked by 18.05.2018 / 01:30