cbrandolino_

Joined 14 years ago

Karma
60
Submissions
13
Member since
Sep 19
I liek web
View on Hacker News

Recent submissions

Comment · 14 years ago
Oh please no, we barely got rid of the target attribute /:
Comment · 14 years ago
That's supernice!

You may want to fix the links in the readme though.

Comment · 14 years ago
Uh, from the downvotes I gather that was inappropriate. Sorry; I'm completely new to HN.

Anyway the backstory is that me and jayniz used to work together, and he usually adds a gif to each of his readme files.

Comment · 14 years ago
Oh you! Can you suggest a gif? ^^
Comment · 14 years ago
Comment · 14 years ago
Nice lib!

I was thinking of libifying my thingy, in a quite minimalistic way (at a minumum, the user would just pass two functions, one "update" and one "draw", which would receive a the current frame and, in the first case, the delta time).

This way you could just get freaky with the canvas effects and composing capabilities and stop caring about the low-level stuff.

I see you know your way around building nice, clean APIs; could you suggest me article/book about it? I'm kind of a newbie to that sort of things.

Comment · 14 years ago
Wow, I was sure they implemented requestAnimationFrame already!

Anyway, I limited myself to trying out the various vendors' prefixes; this being mainly an experiment/preview I'd rather keep the code clean than support non-cutting-edge browsers.

I'll update the paragraph about the compatibility though; thanks for the heads up!

Comment · 14 years ago
Lol, look at the commit history for the pages branch - the JS didn't change since submission ^^
Comment · 14 years ago
I'm afraid it depends on the browser implementation. It works fine on Chrome 12 odd on linux, with all hardware accelerations activated under chrome://flags/

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton