Questions tagged [canvas]
The canvas tag has no summary.
26 questions
1
vote
0
answers
228
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 ...
-2
votes
1
answer
452
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
2
answers
147
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'...
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
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 ...
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),...
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 ...
1
vote
1
answer
168
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-...
3
votes
2
answers
8k
views
Repetitive Drawing in Javascript & Canvas
Creating an HTML5 page using canvas and javascript to draw a set number of musical staves on the page, spaced a pre-determined amount in between.
What I have is re-drawn on top of the canvas 10 times,...
-1
votes
1
answer
273
views
What's is the actual reason that JavaScript is not enough to draw? [closed]
I'm looking for a pure JS library that allows to draw the mouse trail, but I cannot find anything pure but using canvas. Is there is a reason for that it could not be achieved? I'm on the wrong ...
5
votes
2
answers
1k
views
Scripting custom drawing in Delphi application with IF/THEN/ELSE statements?
I'm building a Delphi application which displays a blueprint of a building, including doors, windows, wiring, lighting, outlets, switches, etc. I have implemented a very lightweight script of my own ...
4
votes
3
answers
2k
views
Starting an HTML canvas game with no graphics skills
I want to do some hobby game development, but I have some unfortunate handicaps that have me stuck in indecision; I have no artistic talent, and I also have no experience with 3D graphics. But this ...
0
votes
2
answers
2k
views
HTML 5 Double-Helix/DNA
What would be the most cross browser friendly (IE9, Chrome, FF, Safari, Opera) way to code an animated, interactive double-helix?
HTML 5/JavaScript is fine. Flash or Java is not.
I am unsure if ...