Questions tagged as 'canvas'

1
answer

How to put the same animation on two canvas at the same time?

I have an animation in "html5 Canvas" (using Flot Real Time) and now I need it to be cloned in real time for a new canvas, that is, draw the same thing on 2 canvas at the same time. So I just tried to give a copy of the image, but of course i...
asked by 16.12.2016 / 09:47
1
answer

Image loses effect of CamanJS when manipulating canvas

I own a canvas, in which I manipulate images drawn on it with the CamanJS plugin and works perfectly. However, if I manipulate the canvas manually (without the aid of the plugin) the image loses the effect. For example, I add a filter (Vintage...
asked by 04.01.2016 / 17:57
1
answer

How to Place Image on the X Axis

I'm trying to put an image on this graphic that represents Labels, but since it's a canvas I do not know how to do that in ChartJs . JS myBarChart=newChart(chartBar,{type:'bar',data:{labels:dataLabel,datasets:[{data:dataValue,bac...
asked by 21.10.2016 / 17:24
1
answer

Resize Canvas Chart

I'm using Chartjs and got a Radar chart . Home See the code below: I also have this fiddle . var radarChartData = { labels: ["Item1", "Item2", "Item3", "Item4"], datasets: [ { label: "Linha1", fillColor: "rg...
asked by 19.08.2015 / 19:35
1
answer

Toast is not showing

I tried to search in several sources, but I still do not understand why Toast of class DrawView is not displayed when I click on screen. Any ideas? public class MyActivity extends Activity{ public static Context context; pub...
asked by 21.01.2015 / 01:07
1
answer

What tools do you use to create web games? [closed]

I would like your help on the following questions: 1. What is the best option for web game development? 2. HTML5 with Canvas, Javascript and PHP? What do you think of this combination? 3. Is Python an option? I'm really unsure...
asked by 02.12.2015 / 19:25
1
answer

Picking values from a table and putting them in an HTML chart

I made a database and it is feeding a table. I would like to know what it would take to get such data from the table and plot it on a chart. In the code below the graphic with fictitious values is already present. <! DOCTYPE html > &...
asked by 04.01.2018 / 01:15
2
answers

Add a bmp or jpg figure to a canvas in Delphi

Is it possible to programmatically insert a jpg or bmp image into a canvas? I am using the canvas in a TBitmap at programming time, because my application does not have a screen. It is called, creates the drawing according to parameters passed...
asked by 30.07.2016 / 06:10
0
answers

WebCam Canvas - Zoom [closed]

Is there a way, a command that allows me to change the zoom of the WebCam? In this code below is where I create my WebCam canvas for Snapshot on the site. I want to apply - zoom, ie increase the coverage area of the Cam. Is it possible?...
asked by 15.06.2015 / 15:16
1
answer

canvas - Fill a semi smile with red color

Good night guys, this is the next one, I need to fill the smile of Snowman with red. But I'm not getting it, I do not know if it's because I'm making a mistake in the code or if I'm drawing the wrong smile. The smile I drew with a semi circle...
asked by 13.02.2017 / 02:20