News for hackers. Stuff that matters.

newtron

Re:Show HN: αlphaPun.ch on Monday September 12, 2011 @05:22PM (#2988963)
That's awesome, thanks for showing me that. It would definitely be cool to implement something similar for browsers with SVG support, then fallback to the generated spans for those without.
Re:Show HN: αlphaPun.ch on Monday September 12, 2011 @03:57PM (#2988667)
That's interesting, I'll definitely take a look at Raphael. Did you just need the silhouette, or did Raphael let you do the click through thing too?
Re:Show HN: αlphaPun.ch on Monday September 12, 2011 @01:52PM (#2988192)
I don't think you're being a jerk, I think it's great feedback. :) I appreciate your candor about forgetting to revisit.

I'm hoping to add better fallbacks shortly.

Re:Show HN: αlphaPun.ch on Monday September 12, 2011 @01:18PM (#2988050)
That's really cool, I didn't know about that. Thanks!

The difference here is that with alphaPun.ch you're only clicking through the transparent parts of the image; the opaque parts still block clicks. If I understand that document correctly, pointer-events would only allow you to click through the whole image. (Except with SVG?) Is that right?

Re:Show HN: αlphaPun.ch on Monday September 12, 2011 @01:02PM (#2987998)
For the initial launch, my intention was to build something interesting using new HTML5, CSS3 and JavaScript features and techniques. Now that it is launched and working in the browsers targeted by the contest (current Firefox, Chrome and IE10pp2) my goal will be to expand it to work with browsers that don't support all these features.
Re:Show HN: αlphaPun.ch on Monday September 12, 2011 @12:59PM (#2987985)
I don't have it registered with the α unicode character, only the normal roman a -- http://alphapun.ch or http://www.alphapun.ch.
Re:Show HN: αlphaPun.ch on Monday September 12, 2011 @12:54PM (#2987966)
The limitations of the contest were that it must support current versions of Chrome, Firefox, and IE10pp2, which it does in this launch version. Now that it's working in those browsers, further browser support and better fallbacks are my top priority.

Yes, the fallback is not adequate for a general release tool, so maybe I should have waited before posting it here. But, I thought people might still find it interesting, and I wanted some feedback before submitting it for the contest.

Apologies to those that are being frustrated by these limitations at launch.

Re:Show HN: αlphaPun.ch on Monday September 12, 2011 @11:38AM (#2987673)
It lets you upload a transparent PNG or GIF and will trace the opaque parts. It then spits out some HTML/CSS/JS that you can put on your site that allows you to click through the transparent parts of the image.
Re:Show HN: αlphaPun.ch on Monday September 12, 2011 @11:37AM (#2987665)
Thanks! Now if you do need it, you'll have options. :)
Re:Show HN: αlphaPun.ch on Monday September 12, 2011 @11:36AM (#2987658)
BTW, I have a write-up about it here: http://davidnewton.ca/introducing-alphapunch
Re:Show HN: αlphaPun.ch on Monday September 12, 2011 @11:35AM (#2987650)
Performance is a valid concern, but so far in the tests I've run I haven't hit any real problems. If you encounter any slow downs or real performance issues, I'd love to hear about them (and hopefully eliminate them!)

Thanks!

Re:Show HN: αlphaPun.ch on Monday September 12, 2011 @11:33AM (#2987640)
As a Safari user, I actually totally agree, and it was a hard choice to leave it out of the first iteration. The reason was that this was made for the 10K Apart contest (10k.aneventapart.com) and I was really, really struggling to get the code in under 10k. Having the extra functionality pushed me over the edge. I will definitely be making it support more browsers over time, and adding more options. Or, you could always fork it on github and add it yourself. (https://github.com/nwtn/alphapun.ch) :)