Questions tagged [canvas]
The canvas tag has no summary.
26 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
217
views
How do I make Design Templates like Canva Templates that are unique but can be modified & exported as an image? Should I use Canvas or WebGL?
Canva has Templates that are unique & can be easily modified by anyone & replaced with their own text, images, etc...
I want to build something like that.
I have multiple options to use but ...
-1
votes
1
answer
3k
views
Why was Google Maps built using canvas? If it was built today, would it have rather used react/angular? Why (not)? [closed]
Google Maps' frontend is almost completely dependent on canvas.
Given that it was initially developed a long time ago, is it still the best approach to take to build such a UI? If not, what is and ...
-2
votes
1
answer
444
views
HTML5/Canvas Graphics editor and Immutable state (EaselJS and Redux, ngrx/store)
This question is about the architecture approach.
How would someone go about creating the immutable state for a graphics editor that would eventually provide an "undo/redo" functionality, considering ...
1
vote
0
answers
416
views
Canvas-like drawing interface for SVG?
There's lots of stuff out there comparing the HTML elements SVG and Canvas, but I'm still a little confused.
I'm looking for a way to draw an arbitrary shape (like, I have a description of a shape, ...
1
vote
2
answers
142
views
JavaScript function that acts on same element every time
Let's say I have a HTML/JS project which involves interaction with a canvas. Resizing, drawing, retrieving the current state, etc.
Obviously I should separate these into several functions. However, I'...
1
vote
3
answers
435
views
How to draw high-resolution images on client-side?
Any libraries, API, or tips are welcome. I am trying to draw Landsat 8 images using Canvas utility of Javascript on my browser. The grayscale reflectance values for Landsat 8 bands are from minimum -...
0
votes
1
answer
2k
views
Drawing a data-grid on canvas - whats the point?
To simplify my question let's assume for a minute that all users are using the latest version of Chrome to view a particular website.
Using the latest libraries (Polymer for example), I can render a ...
1
vote
0
answers
155
views
Create 2D drawing with touch screen that also works in IE
I have a page the allows a user to create a signature using a touch screen or mouse. The touch screen works fine in Chrome but not in IE. Most of the time IE does not 'detect' that I am using a touch ...
1
vote
3
answers
3k
views
Multiple Canvas in the Browser -- How to Proceed?
Here's something I wrote ages ago as Java applet. I want to convert it into JavaScript and run in html5 canvas in the browser. From what I can see, canvas makes the most sense here. (SVG / DIV ...
0
votes
2
answers
111
views
Is there an algorithm to avoid getting in hundreds of datapoints from API to represent a bar graph?
I am showing a graph on HTML5 canvas using the flot charting library for a between a start date and an end date. It's fine as long as the period is less than a year or so but if the user selects a big ...
3
votes
3
answers
2k
views
Logic behind an 'undo' for painting on a canvas
I'm working on a module that allows users a basic paint function. I want to support undoing any modifications done to the painting surface. Assuming that we have one layer (for the sake of simplicity),...
0
votes
1
answer
2k
views
Stop re-iterating over duplicates in nested for loop
I'm working with a JavaScript canvas, and I'd like to recreate quite a common effect I've seen where moving particles create lines between them when then get close to each other.
My issue is that I'm ...
9
votes
2
answers
4k
views
Javascript MVC application design (canvas)
I'm having difficulty grasping how to structure/architect a canvas application using an MVC like approach in Javascript. UI will be fairly fluid and animated, the games fairly simplistic but with ...
2
votes
1
answer
5k
views
Is possible to create and download a video file via JavaScript, only on the client side?
Is possible to create and download a video file only on the client side?
Suppose that we have an animated canvas like in this JSFIDDLE. Please see this snippet:
...
var stop = false;
setTimeout(...
1
vote
1
answer
156
views
Best Way to Handle dynamic infograph with javascript?
I've currently been assigned a project to create the following with javascript, you can view the final product here:
http://i1245.photobucket.com/albums/gg583/leetpete1994/Infografic-...