TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Microsite to wrap other sites in duct tape

2 pointsby rsgongabout 10 years ago

1 comment

rsgongabout 10 years ago
Our HTML5 canvas hackathon turned into our April fools microsite.<p>I had to freshen up on trig to roll our own micro-optimized collision detection library.<p>Every strip is a y=mx+b line stored in a depth-sorted array, so traversing down we solve for the first intersection- that&#x27;s our click detection- and then traverse up to find intersections with other strips to see if the clicked strip is removable. Hope you&#x27;re proud of me, Ms.McMillan.<p>I&#x27;d love to hear any feedback you all have to offer :)
评论 #9305522 未加载