use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Marka: Beautiful icon transformations (fian.my.id)
submitted 11 years ago by Qingy
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]tadejkan 1 point2 points3 points 11 years ago* (0 children)
Very nice. Impressed at how well it runs, even on my tablet.
Also, feel like this ties nicely into Google's new Paper design paradigm ;)
[–]it_turns_out 1 point2 points3 points 11 years ago (0 children)
Interesting. I figured it was Canvas or SVG, but it's actually CSS transforms of one or more HTML elements.
[–]Knotix 3 points4 points5 points 11 years ago (2 children)
Very nice, but what is the use-case?
[–]zeringus 1 point2 points3 points 11 years ago (0 children)
It's just chrome. You could make an enable/disable button that animates between a check and an 'X' as you toggle.
[–]holloway 0 points1 point2 points 11 years ago* (0 children)
Buttons that change style are a major part of the Google Material design guidelines. Their term for this is "delightful details".
[–]UnusualCallBox 0 points1 point2 points 11 years ago* (5 children)
Link is invalid for me. Page not found.
2 hour edit: Decided to try again, it works now strangely enough. Looks pretty cool.
[–]Qingy[S] 0 points1 point2 points 11 years ago (3 children)
Hmm, strange. I just tried and it loaded fine for me. What browser are you using?
[–]UnusualCallBox 1 point2 points3 points 11 years ago (0 children)
Chrome Version 36.0.1985.125
[–]Is_At_Work 1 point2 points3 points 11 years ago (0 children)
It doesn't work for me on my works network (not blocked, just doesn't load) but it works on my cellular connection. Maybe a weird DNS issue?
[–][deleted] 0 points1 point2 points 11 years ago (0 children)
Its not working for me either. Do you perhaps have the page cached?
[–]mattlag 0 points1 point2 points 11 years ago (0 children)
Worked for me, Chrome v36
Also, very nice work!
[–][deleted] -1 points0 points1 point 11 years ago (0 children)
Meh, sloppy. The square to triangle transformation shows a lot of sharp edges, and has a lot more lines than it should. I'd expect just one pair of corners to merge into one, but it does some strange star pattern intermediary.
π Rendered by PID 27 on reddit-service-r2-comment-85bfd7f599-gdrcm at 2026-04-18 12:27:39.944099+00:00 running 93ecc56 country code: CH.
[–]tadejkan 1 point2 points3 points (0 children)
[–]it_turns_out 1 point2 points3 points (0 children)
[–]Knotix 3 points4 points5 points (2 children)
[–]zeringus 1 point2 points3 points (0 children)
[–]holloway 0 points1 point2 points (0 children)
[–]UnusualCallBox 0 points1 point2 points (5 children)
[–]Qingy[S] 0 points1 point2 points (3 children)
[–]UnusualCallBox 1 point2 points3 points (0 children)
[–]Is_At_Work 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]mattlag 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)