Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm racking my brain trying to see the 8 directions. I only see 4: up, down, left & right. Care to explain the other 4?


Got it from here: http://apps.eky.hk/css-triangle-generator/

Here's a series of examples showing how it works (not a fun animation like the OP, but a little easier to follow): http://jsfiddle.net/X8gXS/

Basically, you can get any triangle as long as at least one of the sides is horizontal or vertical.


Ah... I see it now. Thanks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: