kineticjs Questions

9

Solved

I have tried using kinetic.js and the code below, however when I try this in IE11 it keeps jumping to the top every time I scroll: $("html").kinetic(); I want to make the page scrollable on tabl...
Typify asked 2/11, 2013 at 14:59

2

I want to upload canvas image through formdata/multipart. I have a canvas which generates the image data with toDataURL(). I want to upload image data as formdata/multipart with Ajax post. Here...
Mcmillian asked 18/9, 2013 at 8:48

5

Solved

I have some library code that is cycling endlessly on me. I'm not clear on how to best perform cycle detection and avoidance in javascript. i.e. there's no programmatic way of inspecting whether a...
Cathode asked 23/5, 2012 at 21:51

5

Solved

I am trying to choose the right technology to use for updating a project that basically renders thousands of points in a zoomable, pannable graph. The current implementation, using Protovis, is und...
Lilly asked 6/9, 2012 at 23:56

3

I have a variable that looks like this: var simpleText = new Kinetic.Text({ text: 'where text goes', fontSize: 24 }); How do I insert a line break where the text goes. I've tried: text: 'whe...
Motorboat asked 16/5, 2013 at 19:8

1

I am trying to combine drag and drop resize image and rotating image on touch, and mine is behaving strange http://jsfiddle.net/littlechad/Kuaxn/ My code is as follows: function update (activeAn...
Hamitic asked 24/4, 2013 at 11:49

2

Solved

Here is my pseudo code: var percentage = 0.781743; // no specific length var degrees = percentage * 360.0; var radians = degrees * Math.PI / 180.0; var x = 50; var y = 50; var r = 30; var s = 1.5...
Intuition asked 19/1, 2012 at 19:17

2

I install the package Kineticjs in nodejs and have the following error message: Kinetic.window = Kinetic.document.createWindow(); ^ TypeError: undefined is not a function at /kinetic/kine...
Edessa asked 6/4, 2015 at 3:14

3

Solved

I'm trying to write my first HTML5 game using a combination of Canvas and the excellent KineticJS library and I've hit a bit of a wall early on. What I want to do is ask the user to enter their na...
Joel asked 17/11, 2012 at 11:21

1

Solved

I would like to use Konvajs to do below tasks: draw two rectangle groups on canvas. Each group contains a rectangle, text, and a circle When I use the mouse to drag from the circle, it draws an ...
Manofwar asked 17/5, 2016 at 1:21

2

Solved

I'm currently looking into KonvaJS to create like a scrap booking app, and i'm trying to display like a bullet list. I trying to use a Text shape and add html to the text to see if it will render ...
Busty asked 11/9, 2015 at 6:37

6

I have a custom font (*.ttf), that I am using to write text on the HTML canvas using Kinetic.js. Unfortunately, on the first loading of the page it is not using my custom font, when reloading the ...
Congress asked 21/3, 2013 at 6:7

1

Solved

There is a great tutorial Selecting Multiple Objects with KineticJS that teaches you how to create a selection box in HTML Canvas in order to select multiple objects, but the author Michelle Higgin...
Donelu asked 10/2, 2016 at 13:31

2

Solved

I am using using JavaScript library Kinetic.js for HTML5 canvas. Here is the method stage.get() to get objects from stage (canvas). I have assigned the id's or class names to each object if I get...
Succentor asked 23/12, 2012 at 7:39

3

I am currently working a project involving KineticJS. I have to dynamically create and delete shapes constantly, but cannot seem to figure out how to do the latter. I've been trying to do: $ my...
Mindful asked 6/10, 2012 at 5:53

2

Solved

Active maintenance of KineticJS was discontinued by its founder in December 2014. The documentation once hosted on the kineticjs.com website now returns 404. Where can I find the last version of t...
Rourke asked 15/3, 2015 at 16:48

7

Solved

Is there a way one could zoom and pan on a canvas using KineticJS? I found this library kineticjs-viewport, but just wondering if there is any other way of achieving this because this library seems...
Acheron asked 28/9, 2012 at 4:24

2

Solved

I got my KineticJS game working inside CocoonJS quite nicely, except scaling the canvas. I have 1024x768 canvas, which is great for iPad 2. But for iPad 4, due to retina screen, the game takes only...
Hop asked 2/12, 2013 at 14:39

4

Solved

I've looked around the internet and found nothing, I've looked on other KineticJS examples that use a strokeWidth of 1 on their rectangles and they all appear to have a semi-opaque 2 pixel line rat...
Bannerol asked 27/4, 2012 at 19:28

3

Solved

Can anyone explain why (indeed, if) it's best to abstract the major parts of a canvas game to different layers when using something like Kinetic? It of course feels like you should, and so far I h...
Aborn asked 28/8, 2012 at 20:13

0

I implemented a function that detects collision between two shapes, and another function that limits the dragBound to the borders when collision is detected, in order to implement the snap function...
Wahkuna asked 29/4, 2014 at 10:6

2

Where can I find the Docs of a previous release of KineticJS. At http://kineticjs.com/docs/ there is only the doc of the current release. Since the Kinetic API is changing fast I need to have a lo...
Caban asked 25/4, 2014 at 8:57

6

I am trying to add an Event Listener to a Htm5-Canvas which is managed by Kineticjs (the Canvas was created via a Stage of KineticJS). I tried out (using jQuery): $(selector).keydown( function(e)...
Boyle asked 5/9, 2012 at 12:51

1

Solved

I'am scaling a stage for example the scale value is decreasing like: 1 0.9 0.8 0.7 0.6 0.5 I want to make an inversion of this values, to increase the scale of the objects in the stage like: 1 ...
Virnelli asked 9/4, 2014 at 4:26

1

I am working a project where we need to warp image Basically, I want to take this image: And turn it into this: Please note : text also warped. I honestly have no clue how to go abo...
Aeneas asked 13/3, 2014 at 11:37

© 2022 - 2024 — McMap. All rights reserved.