I am working on a function which enables users to write onto screen where mouse has been clicked however there are a few problems. Firstly: keyIsPressed is exec
I'd also like to use JavaScript to manipulate the rotation of certain layers inside the SVG. I use Inkscape, but when I save it as "Canvas - HTML", the transpar
In my WPF application, I am trying to rotate a set of grouped shapes inside a canvas. I am getting grouped shape object TOP/LEFT position using the formulae men
In my WPF application, I am trying to rotate a set of grouped shapes inside a canvas. I am getting grouped shape object TOP/LEFT position using the formulae men
I'm trying to round off the shapes of my clipper but it's impossible. I tried with the path.arcToPoint property but I think I don't really understand how it wor
I have this code where I draw on a canvas then convert to a bitmap. predictBtn.setOnClickListener(new View.OnClickListener() { @Override
I'm using some simple buttons in canvas in a 2D game, there is no light or i don't do anything via code for brightness of button. Buttons are shows normally in
how can I clean my console from the following error: TypeError: ref.value is null The error comes only with a resize event. Each time I resize the window, I re
Im trying to create a drawing application in react, its working for the most part. But when i try add an undo button it doesnt work. I try make the undo button
can anyone help me to figure out this error? so I'm doing node version upgrade and dockerization tasks. we used node js 8.15.1 before now we want to update it t
I created a canvas element where I can draw paths. There, I draw transparent paths and I "scratch" reveal the foreground. It works on both mobile and desktop.
I have the code below and I'd like to know the best way to make it work in React.js. My main issue is that I can't comprehend the object orientation principle i
I use fabric-js and try to pass width and height of fabric.Path via params in constructor like so: const path = 'M16.2777 24.96C15.4876 26.3467 13.5124 26.3467
I have been trying to create a dynamic mask from one video onto another one. Neither videos have an alpha channel (and even then it would have low support in br
I have been working with fabricjs for the last few weeks and I cannot find a solution for an issue I am having. I have an object and I would like to programmati
I’m programmatically creating multiple house images that look like this: I'm doing this by simply iterating through a loop which: Creates a new Canvas ob
I'm trying to add 2 or multiple webcam input with webcam.js from jhuckaby. But only one will works perfectly. And i'm following this tutorial https://pixlcore.
I'm trying to output the pixel values from an image. The image is loading correctly; another answer on here suggested that the browswer is trying to read the pi
I have a simple Processing 3 application I just migrated to Processing 4. The old version had some global variables fine tuned for 1920x1080 displays, so while
I need to set up a clickable image system for dynamically created content. The image consists of a background image, and several grey-scale mask images. Backgro