4 ms·
Does this have advantages over using a canvas element? Aside from the cool-hack-factor (which I genuinely appreciate!) Edit: Something quick on jsfiddle : htt
by minikomi 15y ago
Does this have advantages over using a canvas element?
Aside from the cool-hack-factor (which I genuinely appreciate!)
Edit: Something quick on jsfiddle : http://jsfiddle.net/AwynM/2/ http://jsfiddle.net/AwynM/2/
And Continuous : http://jsfiddle.net/AwynM/3/ http://jsfiddle.net/AwynM/3/
- tsergiu 15y agoYou are bound to viewing the document in a browser. This may not be a problem in most cases, but console users cannot see them. There is also a large overhead in the amount of code that needs to be written to position and scale everything. For example, what if I wanted to add another line? Finally, because it's text, it's easy to move around. To build the site, I just copied some text out of some of the files I already had and stuck it where it needed to go. How would I have done it if it was a canvas element?
- minikomi 15y agoInteresting question. You could do something like this: http://jsfiddle.net/AwynM/4/ http://jsfiddle.net/AwynM/4/ and keep the values as values for people who use curl, and replace them dynamically using JS