3 ms·
Its a well known technique (using border slants), though I enjoyed to implement it by myself as a simple drawing class that works in major browsers. What I want
by dw0rm 18y ago
Its a well known technique (using border slants), though I enjoyed to implement it by myself as a simple drawing class that works in major browsers. What I want to know, is where it can be used (or maybe it is useless?), and what should I add or change.
- halo 18y agoWould it be emulate the canvas tag seemlessly for browsers that don't support it such as IE?
- dw0rm 18y agoI doubt the possibility of emulating canvas tag in ie using this technique, because its very limited compared to canvas (for example, its not possible to draw lines). This technique can bring cross-browser support of drawing polygons.
- SingAlong 18y agoIE and or any old browsers can support canvas tag when you use ExplorerCanvas http://code.google.com/p/explorercanvas/ http://code.google.com/p/explorercanvas/ So IE not supporting canvas tag 'officially' isn't really a problem. EDIT: Just found that ExplorerCanvas has a new home at soundforg. Download here http://sourceforge.net/project/showfiles.php?group_id=163391 http://sourceforge.net/project/showfiles.php?group_id=163391
- bd 18y agoWait, you can make slanted borders? This is cool, I didn't know. I googled around and found some more: http://meyerweb.com/eric/css/edge/slantastic/demo.html http://meyerweb.com/eric/css/edge/slantastic/demo.html http://infimum.dk/HTML/slantinfo.html http://infimum.dk/HTML/slantinfo.html (check also links from there) http://infimum.dk/HTML/rasterTriangleDOM.html http://infimum.dk/HTML/rasterTriangleDOM.html
- dw0rm 18y agoAlso please check this link: http://www.uselesspickles.com/triangles/demo.html http://www.uselesspickles.com/triangles/demo.html (I found it after I implemented my algorithm) I use the same method to draw triangles, but a bit more simplified (requires 1 div less per triangle)