0
votes
1answer
10 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
106 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
45 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
1answer
42 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 ...
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
52 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
20 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 ...
2
votes
0answers
28 views

What are the best ways to boost KineticJS Performance, especially on mobile devices?

as I had some serious performance issues with my mobile web-application, I wanted to provide my solution and ask for further tips & tricks to keep the performance of KineticJS up, especially on ...
-4
votes
0answers
33 views

Build Floor plans creating site with HTML5 [closed]

Basically what I need is to build a site which will create floor plans of residential building, apartments. In which I will have one dashboard where I can put elements like line, circle. I can set ...
0
votes
2answers
40 views

Aligning of Canvas using HTML5

I am using HTML5. Can somebody please help me to align the canvas on the webpage. Initially I used div tag for placing an arrow.Now I need to get an ellipse after the arrow. I used canvas tag. But it ...
0
votes
1answer
32 views

Remove specific shapes created using paperJS

I have created a simple image marker with circle, rectange and line. How can i remove the shapes which i do not need. I have stored co-ordinate points in array. How can i proceed any help. Here is the ...
0
votes
1answer
52 views

Drawing in canvas becomes slower and slower when it draws more stuff during loop

I am trying to incrementally draw 3 lines which are 120 degrees from each other from a point using html5 canvas. The vertex of each lines will become another 3 new center point and spawns another 3 ...
0
votes
2answers
53 views

Simplest slideshow in HTML5 canvas, canvas.context.clearRect not working with setTimeout

Here is a code of a very simple slideshow, that should show 4 images in 4 seconds, one image per second. Instead, I get a 4-second delay and then all the images get drawn on top of each other. What am ...
0
votes
1answer
34 views

Image caption - I dont want it to fade away

I am making my index page, which is blocks of images with caption. The actual image is colored, but I set them so they can be loaded black/white. And when they hover over, they turn colored. However, ...

1 2 3 4 5 69
15 30 50 per page