Canvas is an drawing element introduced to web development with HTML5. For Android or WPF, use android-canvas or WPF-controls.
0
votes
0answers
7 views
three.js — loading blender json format model in browser
I'm having a difficult time trying to view my exported model in the browser using three.js — eventually I'd like to be able to navigate through the model using PointerLockControls.js but I can't even ...
0
votes
2answers
22 views
JavaScript: Memory leak on canvas (not in Chrome)
I'm trying to draw some gradient lines on canvas, using jCanvas plugin and jQuery but my code leads to memory leak in Firefox (reserved RAM increases to the infinity). Internet Explorer deals with RAM ...
0
votes
0answers
13 views
Weird Assignment IDE Warning
Im currently developing a html5 canvas application.
also required to work on mobile devices.
one of the features is bmi calculation like:
Javascript code:
bmi = refweight / ((refheight/ ...
0
votes
1answer
27 views
async sort for kineticjs line points?
The problem I've been fighting for the last 2 days is a bit strange, so I was not really sure how specify it in the title.
I have a KineticJs Line, which has an array of points (line.attrs.points) in ...
0
votes
0answers
11 views
Hold the canvas drawing while using intent to another class
I am creating a simple drawing application in android. I have
Activity A(settings for drawing. like brush color).....
Activity B(Canvas)....
A "settings" button to go to settings class from canvas....
...
0
votes
1answer
21 views
Android Canvas.drawCircle() bug. Persistently draws an ellipse instead of a circle
I try to create a circle with help of Canvas, using the method drawCircle(...). But in the end why get I an ellipse instead of a circle ? How can I get "true" circle ?
Bitmap bitmap = ...
0
votes
0answers
14 views
Does canvas corrupt base64 data?
I'm building a icon-manager as a webservice where the icons are stored as base64 blobs (svgs and pngs) in a database.
I would like to render the icons on a clients html5 canvas where the client can ...
0
votes
1answer
20 views
KineticJS - Draw one layer to an offscreen canvas
KineticJS takes hold of the canvases and controls their size and position.
I would like to have KineticJS render a layer to an offscreen 5000x2500 canvas, it seems a little complicated and "hacky" to ...
0
votes
1answer
24 views
Html DrawCanvas is null
I'm trying to duplicate my canvas but it throw me drawCanvas is null error.
Whenever i hit the button it throw me the error. Is there any other way i can duplicate my canvas?
HTML
<Html>
...
0
votes
1answer
10 views
Chrome canvas rendering issue
I've created a small javascript game and I tested on my local computer in all major browsers and it works fine . After that I uploaded the game on my hosting server and the game wont display in Chrome ...
0
votes
0answers
18 views
Kineticjs array objects
I have a problem with kinetics object:
I have some kinetics objects...
var trianguloG1=new Kinetic.Polygon({
points: [x, y, catetosTiangulosGrandes+x, y, x, catetosTiangulosGrandes+y, x, y],
fill: ...
3
votes
5answers
32 views
How to draw existing <img> to canvas
I know I can do this using javascript:
var ctx = getCanvas('testCanvas').getContext('2d'); // get Canvas context
var img = new Image();
img.src = 'test.png';
img.onload = function(){
...
0
votes
1answer
28 views
Save canvas in client side
JavaScript
if (!window.Clipboard) {
var pasteCatcher = document.createElement("apDiv1");
pasteCatcher.setAttribute("contenteditable", "");
pasteCatcher.style.opacity = 0;
...
0
votes
1answer
20 views
Horizontal Scrollbar not working in Python TKinter Frame
I have a canvas (for ttk.Frame not having xview,yview methods) holding frames inside of it, which I want to browse horizontally, as they are in the same row. Found some tutorials, and while they were ...
0
votes
1answer
17 views
Does requestFullScreen() only work for width and relative position?
I'm programming something with canvas and want to add fullscreen support. I found the API and its working but with some problems:
First of all I recognized that fullscreen mode uses the full width of ...