I'm working in a Paper.js project where we're essentially doing image editing. There is one large Raster. I'm attempting to use the getSubRaster method to copy a section of the image (raster) that the user can then move around.  After the...
I know there are many many questions about sorting javascript arrays by multiple values, but none of the answers solved my problem.  I have an array of coordinates like:  x  |  y -------- 10    20 12    18 20    30 5     40 100   2   How can I get th...
I already made use of a search engine, but I did not get the information I wanted, so I want to ask whether someone has a good method/trick for using a self-made coordinate system in a HTML5 canvas element.  I want to develop a 2D game in HTML5 using...
I am working on a PyQt application that has an SVG viewer based on QWebKit. Initially the SVG file is generated by an external application (LilyPond), but we want to edit the SVG in the viewer using JavaScript.  Basically it's working pretty well...
I have a little problem with OpenLayers 3. I have the following script:  var map = new ol.Map({     view : new ol.View({         center : [5.611155, 52.238879],         projection : 'EPSG:4326',         zoom : 8.5,         minZoom : 8.5,...
I have some svg elements and I want their height and width in terms of pixels. how to do this?  <rect height="200" width="400" fill="red" stroke="1">...
I am trying to do things like:   Given two line segments, find if they intersect. Find the area of an arbitrary Polygon   For everything I have a point in rectangular co-ordinate system....
I try to implement few features on a weather radar image received from weather provider. On the providers web I found a function which converts coordinates from a user input to pixel coordinates in the image. Because all variables are anonymized and...
I wanted a random x/ y coordinate on the area of an intersection of two circles    My problem now is that i got the heavy part done, and it does work in the browser with Canvas for demonstration. But only on 2D Coordinates. Im using Google Maps, and...
I am writing some javascript to create x and y coodinates from an array, so i have this code:  var map1 = [     gg,gg,gg,gg,gg,gg,gg,gg,gg,gg,gg,gg,gg,gg,gg,     gg,gg,gg,gg,gg,gg,gg,gg,gg,gg,gg,gg,gg,gg,gg,     gg,gg,gg,gg,gg,gg,gg,gg,gg,gg,gg,gg,gg...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.