Live data from Hacker News

CutJS – Fast 2D HTML5 rendering engine for game development

cutjs.org

21–30 of 54 posts

Re: CutJS – Fast 2D HTML5 rendering engine for game development

#21
post #8

Earlier quoted context omitted.

Pinning is about positioning variables, not graph structure.

A scene graph is a scene graph is a scene graph. Whatever you call it. Also, it looks like the pinwheel demo has an error. I suggest you add one of the more advanced demos along with source code on the intro page. Just looking at the first few demos I felt it reimplemented stuff that's already possible with CSS, but it looks like it's capable of much more (the last few demos)

Yes, a scene graph is a scene graph but by pinning I meant "how" the positioning is "described", not the fact that it is positioned.

The game O! is open source. Everything is almost possible with HTML/CSS too, the point is performance across different devices.

Thanks, found and corrected the error.

Re: CutJS – Fast 2D HTML5 rendering engine for game development

#23
post #8

Earlier quoted context omitted.

Pinning is about positioning variables, not graph structure.

A scene graph is a scene graph is a scene graph. Whatever you call it. Also, it looks like the pinwheel demo has an error. I suggest you add one of the more advanced demos along with source code on the intro page. Just looking at the first few demos I felt it reimplemented stuff that's already possible with CSS, but it looks like it's capable of much more (the last few demos)

[deleted]

Re: CutJS – Fast 2D HTML5 rendering engine for game development

#26
post #25

I know nothing about game development nor 2D/3D graphics, but why does an HTML animation of an airplane flying has to pin my i5 core to 100%?

You probably don't have GPU acceleration enabled/supported in your browser. For example, if you use Chrome, check about:gpu.

Re: CutJS – Fast 2D HTML5 rendering engine for game development

#29
post #25

I know nothing about game development nor 2D/3D graphics, but why does an HTML animation of an airplane flying has to pin my i5 core to 100%?

You probably don't have GPU acceleration enabled/supported in your browser. For example, if you use Chrome, check about:gpu .

That's true (thanks), but anyways, it seems to me that a simple animation should take only a fraction of a modern CPU's (or GPU) power. Is the engine calculating more often than what's needed for 60fps or whatever refresh rate our eyes need to be satisfied?

Re: CutJS – Fast 2D HTML5 rendering engine for game development

#30
post #29

Earlier quoted context omitted.

You probably don't have GPU acceleration enabled/supported in your browser. For example, if you use Chrome, check about:gpu .

That's true (thanks), but anyways, it seems to me that a simple animation should take only a fraction of a modern CPU's (or GPU) power. Is the engine calculating more often than what's needed for 60fps or whatever refresh rate our eyes need to be satisfied?

The issue is not with this engine, no other HTML5 game/engine can do better in your browser. CPU is not optimized to do what takes only a fraction of GPU.
Post reply on HN