Showing posts with label G1. Show all posts
Showing posts with label G1. Show all posts

Sunday, May 2, 2010

Gouraud Shading in JavaScript :-)

[Update I just changed demo to new version, now on my machine it reaches speed from 90 to 100-110 fps per second :-)]

I was wondering if it is even possible to create Gouraud Shading with JavaScript.

And answer is yes :-)

Here is a proof on youtube :-)



I was wondering also if it is possible to run it on G1 on Android 1.6, and answer is also yes:



As you can see on Chrome we have about 30-40 fps [when recording was of it was almost always near 50 fps on my laptop with Intel Core Duo 2 2.2 GHz on Chrome 5, 20-25 fps on Firefox], on G1 it was only 0.5 fps :-)

If you want to check how it will work on your machine you may try:




If you are reading this post by RSS or Buzz you may use direct link to demo :-)

It will work on Chrome, Chromium and Firefox. I don't know why it doesn't work on Opera :-(

Earlier versions of this worked about 5-10 times slower but it was caused by using fillRect(int,int,int,int) of Canvas object, now I'm working directly with pixels and this gives us big speed boost :-)

Similar postsbeta
Chrome OS and Java
Which language is fastest? ;-)
How to detect clickbaits?
Chrome2Chrome - lets move browser tabs between computers ;-)
OOo2GD - surveys results

Tuesday, July 14, 2009

What sux in G1?

Battery.
Really, HTC should think about version with battery ;-)
Current one is similar to UPS, it helps between short moments when you are not connected to proper power source ;-)
With old Nokia or Alcatel [both proud European companies :-)] I had about a week of work without charging, with G1 it's a day.

Finger marks on screen.
When you see G1 which is used by someone else you start to wonder why this person didn't wash her hands. Whole screen is covered with marks of fingers. It looks disgusting.
When you owe G1 you start to understand it ;-) Wash your hands and next try to input unlocking pattern ;-) But even with those clean hands your fingers will left ugly tracks on screen.

Responsiveness.
Or rather the fact that from time to time you may met on G1 lack of responsiveness. Here are some hard moments when you can see your wallpaper and you need to wait.... and wait... and wait....
But here it is common behavior of many mobile devices. For me it looks that during development those devices are quick and everything works nice and smooth, but in next phase when those wonderful devices are converted to versions for real world market they met physics laws, and what become worser, economy laws. So designers throw out from those devices quicker CPUs because users have strange habit to keep phone disconnected from power line, they threw out also normal batteries, because those batteries costs more, and weights more too ;-)

But considering all this, I must say that G1 is coolest piece of mobile equipment I ever had. It's true GeekPhone :-)


Similar postsbeta
Vacation in progress ;-)
I want my Android back!!!!
Programmers love to over complicate...
Biggest problem with WhatsApp, Telegram, Allo, Duo and so on
Bloggerid cannot post images....