First of all: what am I trying to do?  I have an application to view images. It uses the canvas element to render the image. You can zoom in, you can zoom out, and you can drag it around. This part works perfectly right now.  But let's say I have...
I have multiple canvas in one screen using fabricJS.  I have added some ITexts, Text Box, Image, Background in each canvas.  I have some scalling options, like 25%, 50%, 100% to 300% in increasing order of 25%.  If my current default scale is 100% it...
We did some work on an app that lets people fire baseballs over the internet.  It lives entirely within Amazon's AWS ecosystem, and we're building off that for a new project. The stack includes:  -Dedicated MongoDB and Redis servers -three di...
I have the following Javascript, HTML and CSS code    function distanceBetween(point1, point2) {     return Math.sqrt(Math.pow(point2.x - point1.x, 2) + Math.pow(point2.y - point1.y, 2)); }  function angleBetween(point1, point2) {     return Math.ata...
I am trying to make a use of scaling shaders in WebGL (super-xbr in particular), but I fail to properly pass the data to the shader so it does the correct interpolation. I've converted GLSL shader to the corresponding vertex and fragment shaders...
My code works in Google Chrome and IE but does not work in Firefox 12.  Anyone know how I can make it work in Firefox 12?  Code:  ... /* START FULLSCREEN BUTTON */ // Globals var map_size    = 'small'; var map_position= 'inherit'; var...
I am having trouble grasping the performance limitations of using node with a Heroku Hobby dyno, a type which contains just 1 web worker.  My heroku server is used to respond to post requests and initiate server to server communication. We will call...
I am trying to have an SWF fill the browser 100% in width, and auto adjust for the height forcing the page to scroll if necessary. I have tried the following:  <object width="100%" height="auto" classid="clsid:d27cdb6e-ae6d-11c...
I'm attempting to make a program that takes the information gathered from some calculations and plots it on a canvas graph. I need to scale the graph, however, so that it can accommodate larger numbers. But every time I put ctx.scale(); the whole...
Due to application specific requirements I need to reliably determine the browsers zoom level.  Circumstances  Unfortunantely I only found window.devicePixelRatio which mixes multiple values.   Windows Display scaling:  window.devicePixelRatio:  Chro...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.