The canvas element is part of HTML5 and allows for dynamic, scriptable rendering of 2D shapes and bitmap images. It is a low level, procedural model that updates a bitmap and does not have a built-in scene graph.
0
votes
0answers
3 views
Save Canvas As Image to phone storage Phonegap
I have an application that uses Canvas to create custom images. I have been able to hack all of it except being able to download/save the image to the user's phone storage, I have tried using the ...
0
votes
0answers
6 views
Two Kinetic.Tween aren't executed at the EXACT same time | Get updated x-value during Tween
I am trying to keep a stage static and non-draggable on a draggable stage.
So far, it works when the users drags the stage with the mouse by catching the dragmove -event(no visual problems there), ...
7
votes
2answers
100 views
html 5 canvas drawing error
I'm trying to build my first nearly-complex map based on vectors drawn in a html 5 canvas.
It works well, except the scaling. I noticed the following:
In Firefox everything works well (except the ...
2
votes
2answers
44 views
HTML 5 - how to zoom canvas background image
I am a beginner in HTML 5,
I have written a code for canvas zoom but I dont want to zoom actual canvas but the background image of canvas like in the http://www.customink.com/lab
following is the ...
0
votes
0answers
20 views
Google Map Custom Overlay
I developed custom SVG Overlay, but have problem in rendering. Cause I have to much points and rendering all points as SVG is too slow in browser. I know the best solution is creating custom Canvas ...
1
vote
0answers
23 views
kineticJS Uncaught TypeError: Type error
I am using kinetics to make a drag & drop application, everything was working fine until a few days when a strange error appears in console (Uncaught TypeError: Type error).
Debugging my app I ...
0
votes
1answer
39 views
Save canvas as image PaperJS
I have created a canvas with image and few shapes over the image. Now i need to save the whole canvas as image when i click save button. how can i do it. can any one help me.
I did as you said but ...
0
votes
1answer
41 views
HTML5 Canvas follow object
I'm making an HTML5 game and I'm new to this, My issue is that I'm making a 2D game and
I have a background that is bigger than my canvas.
I need that when my main object moves the camera moves with ...
0
votes
3answers
42 views
HTML5 Remove previous drawn object in canvas
I have a polygon object (say a car) drawn inside HTML5 canvas with help of methods moveTo & lineTo. I want to repeatedly draw that object at diff position in canvas.(simply simulating an object ...
1
vote
0answers
25 views
CamanJS - replace instance
If I have an image that I apply a filter to, e.g. Lomo filter, is there way to make that the current Caman instance?
Meaning, if I then want to then play about with the brightness on the image that I ...
0
votes
1answer
41 views
Drawing line in Canvas having issue
I'm currently working on an iOS app which uses HTML 5 and JavaScript for drawing Graphs.
I just did a sample App.
My Code:
<!DOCTYPE html>
<html>
<head>
<script ...
0
votes
1answer
30 views
Animate (Oscillation) custom drawn shape on Canvas
Good day.
I am looking for abit of advice. Before judging, please take note I am new to coding, with only a few weeks of experience.
I am trying to make the cloud shape I have draw onto the canvas, ...
-4
votes
0answers
21 views
How to add Line and circle paths to get an UML interface? [closed]
1: code and path for Line
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" class="st3">
<!-- Created with SVG-edit - http://svg-edit.googlecode.com/ -->
<g ...
0
votes
1answer
51 views
Preload images in jquery/canvas “Uncaught TypeError: Type error”
I want to pre-load a directory of images into my canvas so that they are ready to be displayed when I need them.
I found this question on stackoverflow
and the accepted answer was extremely helpful.
...
0
votes
0answers
19 views
KineticJS, ON method doesn't work on specific coordinates
So I got a code working with KineticJS, to load 3 images, then draw a circle on the canvas, and finally place the 1 image near the circle (730,730) and add to it a on method. If I place the image near ...