Now make it usable, add date and time Well actually it is usable, and not just an academic curiosity for the mathematically inclined, it can be used to teach about seasons for example.
1) It updates once a minute. 2) It should account for seasons; note that the shadow doesn't pass through the poles yet. It will on the equinox, if working correctly.
1) Does it update periodically while the widget is open? Or is it set only once when it is opened?
2) Does the shading rotate about the poles only, or does it account for seasonal axial tilt? The sun is currently shining pretty close to the equator so it is hard to tell.
Those extra polys make all the difference - very, very nice! Now you just need to tie into Twitter, or a news service with location data, plot a few flashing lights....!
~100 more polygons makes it 1000x better! It is a simple globe you don't need a java applet for, or a real globe.
★★★★★ !
EDIT: You could shave another 3kB off the widget by optimizing the close button PNG. It is only 15x45 but it is oversaved at 4kB! You could chop it down to an optimized 64 color PNG at about 1kB.
I wish Opera would distribute optimized version of these graphics in the first place...
Update- v1.1; Two notes: -I've removed the visible seams with a little hack, at the expense of a little distortion. -I spent the last hour researching the opera-2dgame context, and have speeded up the drawing a little.
xowithxo 作 , # 2009/05/25 14:18:22
Larger would be nice; I need to ensure that won't kill performance, though.
Lights would be nice too, but may need to wait until I've cleaned this up.
Tangent128 作 , # 2008/10/04 8:50:11
<Nice one!>
Can you please allow me to put markers on it as for instance the latest earthquakes?
(And I want it enlarged if you please.)
</Nice one!>
Weatherlawyer 作 , # 2008/09/18 7:23:42
GoldBit 作 , # 2007/10/19 21:23:18
Though maybe I should look into a time set option...
Tangent128 作 , # 2007/09/23 19:44:33
Well actually it is usable, and not just an academic curiosity for the mathematically inclined, it can be used to teach about seasons for example.
yadavankur 作 , # 2007/09/23 16:56:58
dantesoft 作 , # 2007/09/23 10:18:43
yeeliberto 作 , # 2007/09/14 15:37:17
Great job! Now I know when it's night at the Opera office
EDIT: Man, just have to say; this is quite amazing!
EDIT #2: You should put up a new screenshot!
GreyWyvern 作 , # 2007/09/10 19:59:46
2) It should account for seasons; note that the shadow doesn't pass through the poles yet. It will on the equinox, if working correctly.
Tangent128 作 , # 2007/09/10 17:41:20
1) Does it update periodically while the widget is open? Or is it set only once when it is opened?
2) Does the shading rotate about the poles only, or does it account for seasonal axial tilt? The sun is currently shining pretty close to the equator so it is hard to tell.
GreyWyvern 作 , # 2007/09/10 17:30:30
-Now shades the night side based on the current time and date.
Tangent128 作 , # 2007/09/10 3:14:14
johnnysaucepn 作 , # 2007/08/28 13:33:53
But it'll have to wait until I catch up on homework.
Tangent128 作 , # 2007/08/24 23:38:54
Add an option to shade the globe where it's currently night, and account for the earth's seasonal axial tilt.
Think that is possible?
GreyWyvern 作 , # 2007/08/24 23:06:23
I really appreciate the feedback!
Tangent128 作 , # 2007/08/24 18:53:57
★★★★★ !
EDIT: You could shave another 3kB off the widget by optimizing the close button PNG. It is only 15x45 but it is oversaved at 4kB! You could chop it down to an optimized 64 color PNG at about 1kB.
I wish Opera would distribute optimized version of these graphics in the first place...
GreyWyvern 作 , # 2007/08/24 17:45:28
-I've added 108 more triangles, so it actually looks like a proper globe now.
Surprisingly, there wasn't much of a performance hit in doing so. Worth a re-download.
Tangent128 作 , # 2007/08/24 13:58:56
GreyWyvern 作 , # 2007/08/23 15:29:04
-I've removed the visible seams with a little hack, at the expense of a little distortion.
-I spent the last hour researching the opera-2dgame context, and have speeded up the drawing a little.
Tangent128 作 , # 2007/08/22 17:30:48