I am working with an HTML canvas blown up 32x its pixel width and height. When I draw lines on it, however, I notice that the edge pixels of lines are drawn semi-transparently (exactly half transparent). Is there a way to stop this?  In this picture,...
First off, I am currently using JQuery so JQuery solutions viable.    I want to rotate an image by a dynamic X degrees which is calculated every sec.  Now I had this working perfectly using this JqueryRotate plugin   The image is rotated perfectly ev...
I'm trying to use blur.js to create a blur effect on my site so you can see the site background behind the content. However, it appears to be trying to access an image called "none."  Here is the output from the chrome javascript log:  $(...
I've been following the lessons about transparency and gradients on the Mozilla site: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Canvas_tutorial/Applying_styles_and_colors but I have not been able to figure this one out.  I know I ca...
I have a website where people can upload an PNG image and save it.  But before they can save it, i need a check if the image contains transparency.  Is there an way to check (i prefer JavaScript) if an image is not 24 bits?  <img id="imageId&#...
I'm new to threejs and I'm trying to make a simple 3d model. Nevertheless, I've got some transparency / disparition issue since I've started to play with opacity.  the important part of my code, is here:      var cylJaun = new THREE.M...
Edit with possible solution below the code  The site has a full page video.  Scroll action: not to display content which is located 250px or less from the top — so 250px of top of the video is always visible.  Perhaps a better way to understand thi...
In html5, when you draw to a canvas using putImageData(), if some of the pixels you are drawing are transparent (or semi-transparent), how do you keep old pixels in the canvas unaffected?  example:  var imgData = context.createImageData(30,30); for(v...
We have a quiz that we developed in Flash years ago that used hit areas to determine whether someone clicked on the appropriate portion of an image (think 'Anatomy Quiz'). These hit areas were very tedious to outline and there is no way to re...
I've been setting up a small framework for rendering positionable and animated graphics onto a <canvas> element - primarily to help my understanding of it.  I downloaded a random sprite sheet off the internet for testing - it has a transpar...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.