View unanswered posts | View active topics
| Author |
Message |
|
drawdeselrahc
|
Posted: Sat Feb 25, 2006 4:33 am |
|
Joined: Sat Feb 25, 2006 4:28 am Posts: 18 Location: Australia
|
|
Hi Mike!
Is it possible to have some way to rotate the moon phases icons 180deg for southern hemisphere users?
Kind Regards
Charles [:D]
|
|
| Top |
|
 |
|
Ed_P
|
Posted: Sat Feb 25, 2006 8:31 am |
|
| Senior Member |
 |
Joined: Sat Aug 07, 2004 12:24 pm Posts: 2223 Location: Western NY, USA
|
|
| Top |
|
 |
|
drawdeselrahc
|
Posted: Sat Mar 04, 2006 3:59 am |
|
Joined: Sat Feb 25, 2006 4:28 am Posts: 18 Location: Australia
|
Hi EdP - thnx for your reply, however I beg to differ. The moon does look different when viewed from the southern hemisphere compared to the northern hemisphere. Pls have a look at this website:
http://www.wonderquest.com/moon-down-under.htm
Perhaps the images at weather.com are northern hemisphere-centric and cannot be changed. What I'm wondering is whether they can be "flipped" 180deg in WW?
Regards
Charles
|
|
| Top |
|
 |
|
Ed_P
|
Posted: Sat Mar 04, 2006 9:33 am |
|
| Senior Member |
 |
Joined: Sat Aug 07, 2004 12:24 pm Posts: 2223 Location: Western NY, USA
|
|
Well drawdeselrahc that webpage does have an interesting point of view. [:)] And there are other sites that agree with it but there are others that seem to disagree with it.
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">All agree, however, that the moon does not change, that it always presents the same face to Earth.<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote"><font size="1">http://www.phy6.org/stargaze/Smoon.htm</font id="size1">
Basically your webpage implies that if I tilt my head to the right when looking at the moon my view is different than when I tilt my head to the left to look at it. And while it goes without saying that the people in the southern hemisphere have a different tilt than the people in the northern hemisphere I don't think it's different by 180 degrees unless one goes completely to the opposite poles.
It's possible for WW to select a different weather.com moon image than what weather.com is presenting, to accommodate a 180 degree shift as you requested would mean adding 14.75 (half a cycle) to the weather.com image to select a reverse image. Unfortunately that also causes a full moon to be shown when a new moon is in the sky. So that's not a good method.
To physically rotate the weather.com image would require the revised image be stored someplace that the html code could access. A remote website would be possible but slow as would be writing the revised image to your hard drive.
Putting a book under the right side of your monitor and tilting your head to the right when looking at the moon images is probably the easiest solution to the problem. [:D]
<font size="2"><font color="blue">Ed</font id="blue"></font id="size2">
|
|
| Top |
|
 |
|
Mike Singer
|
Posted: Sat Mar 04, 2006 3:02 pm |
|
| Site Admin |
 |
Joined: Wed Nov 06, 2002 9:24 am Posts: 4180 Location: Harrisburg, PA
|
|
drawdeselrahc, I don't know of any way to rotate an image without using another image that has been rotated using a program like Adobe Photoshop.
|
|
| Top |
|
 |
|
Flügger
|
Posted: Sun Mar 05, 2006 12:53 pm |
|
Joined: Sun Dec 18, 2005 12:11 pm Posts: 115 Location: Denmark
|
I'm not sure if you'd be able to use this, but figured that I'd rather post an answer to the problem in the post than worry about incompatability.
So, the rotation looks possible in the CSS filter described in this MSDN link
http://msdn.microsoft.com/workshop/auth ... tation.asp
But, somehow it seems a little much to me, so another way of doing it -I think- would be just flipping the pictures along the horizontal axis, using by using the FlipH CSS filter; <img src="-moonphase-" style="Filter: FlipH">
I know these transformations might be IE only, but figured that since WW uses an IE control and the transformation doesn't harm the image if it's not supported in the browser, it wouldn't be a real problem.
Well, anyways, just a thought off of the top of my head, but hey, it might do the trick.
Last edited by Flügger on Tue May 23, 2006 8:20 am, edited 1 time in total.
|
|
| Top |
|
 |
|
drawdeselrahc
|
Posted: Mon Mar 06, 2006 6:05 am |
|
Joined: Sat Feb 25, 2006 4:28 am Posts: 18 Location: Australia
|
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"> Originally posted by EdP
<snip>
And while it goes without saying that the people in the southern hemisphere have a different tilt than the people in the northern hemisphere I don't think it's different by 180 degrees unless one goes completely to the opposite poles.
It's possible for WW to select a different weather.com moon image than what weather.com is presenting, to accommodate a 180 degree shift as you requested would mean adding 14.75 (half a cycle) to the weather.com image to select a reverse image. Unfortunately that also causes a full moon to be shown when a new moon is in the sky. So that's not a good method.
Reply - Yep! That's right - the phases that are "flipped" DON'T include full moon and new moon, just the phases "in between". The process that makes most sense to me is that the moon phases in the northern hemisphere can be seen as DOC (D representing a waxing moon, O representing full and C representing a waning moon) while in the southern hemisphere this is reversed ie, COD... The full moon looks full but the image is "flipped" 180deg when I look at it from "down under". There is a good description of this at the Wikipedia website:
http://en.wikipedia.org/wiki/Lunar_phase
<snip>
Putting a book under the right side of your monitor and tilting your head to the right when looking at the moon images is probably the easiest solution to the problem. [:D]
Reply: Hey, tried this out but just got a massive neck-ache after a few minutes! Guess I'll just stick to crossing my eyes... [:D]
<font size="2"> <font color="blue">Ed</font id="blue"></font id="size2">
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
|
|
| Top |
|
 |
|
drawdeselrahc
|
Posted: Mon Mar 06, 2006 6:09 am |
|
Joined: Sat Feb 25, 2006 4:28 am Posts: 18 Location: Australia
|
Thnks Fl?gger - looks ideal for this query... Maybe it can be implemented in WW via a tab in the Options Menu?
Cheers,
Charles
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"> Originally posted by Fl?gger
<br />I'm not sure if you'd be able to use this, but figured that I'd rather post an answer to the problem in the post than worry about incompatability.
So, the rotation looks possible in the CSS filter described in this MSDN link
http://msdn.microsoft.com/workshop/auth ... tation.asp
But, somehow it seems a little much to me, so another way of doing it -I think- would be just flipping the pictures along the horizontal axis, using by using the FlipH CSS filter; <img src="-moonphase-" style="Filter: FlipH">
I know these transformations might be IE only, but figured that since WW uses an IE control and the transformation doesn't harm the image if it's not supported in the browser, it wouldn't be a real problem.
Well, anyways, just a thought off of the top of my head, but hey, it might do the trick.
<div align="right"> 2b || !2b</div id="right">
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
|
|
| Top |
|
 |
|
Flügger
|
Posted: Mon Mar 06, 2006 7:08 am |
|
Joined: Sun Dec 18, 2005 12:11 pm Posts: 115 Location: Denmark
|
Hehe, thanx, but i'm not sure what in the world i was talking about with the flipping of the images, seems clear to me [after sleeping?] that they should be flipped on the vertical axis - which simply would be done using the FlipV filter instead of FlipH; <img src="-moonphase-" style="Filter: FlipV">
Sorry for the stupidity  but hey, everyone can lack sleep sometimes 
Last edited by Flügger on Tue May 23, 2006 8:22 am, edited 1 time in total.
|
|
| Top |
|
 |
|
Ed_P
|
Posted: Mon Mar 06, 2006 10:26 am |
|
| Senior Member |
 |
Joined: Sat Aug 07, 2004 12:24 pm Posts: 2223 Location: Western NY, USA
|
Fl?gger,
So Splendid's current.wtp's line 835 would change from:
Code: <IMG SRC="[DAILY MOON ICON]" WIDTH="38" HEIGHT="38"><BR> to: Code: <IMG SRC="[DAILY MOON ICON]" style="Filter: FlipV" WIDTH="38" HEIGHT="38"><BR> or for a better view to even: Code: <IMG SRC="[DAILY MOON ICON]" style="Filter: FlipV"><BR>
Really!! No, changes to Style.css needed?
<font size="2"> <font color="blue">Ed</font id="blue"></font id="size2">
|
|
| Top |
|
 |
|
Flügger
|
Posted: Mon Mar 06, 2006 12:51 pm |
|
Joined: Sun Dec 18, 2005 12:11 pm Posts: 115 Location: Denmark
|
Whoa, I really gotta check up on the facts before posting the next time - my first post was right, FlipH is the correct to use..!
And to you Ed; yes, editing the line does the trick - nothing else [except viewing in IE] needed. So the fix will be changing
Code: <IMG SRC="[DAILY MOON ICON]" WIDTH="38" HEIGHT="38"><BR> to Code: <IMG SRC="[DAILY MOON ICON]" STYLE="filter: FlipH;" WIDTH="38" HEIGHT="38"><BR>
and as far as i can see, this gives you the desired effect.
Last edited by Flügger on Tue May 23, 2006 8:20 am, edited 1 time in total.
|
|
| Top |
|
 |
|
Ed_P
|
Posted: Mon Mar 06, 2006 1:19 pm |
|
| Senior Member |
 |
Joined: Sat Aug 07, 2004 12:24 pm Posts: 2223 Location: Western NY, USA
|
|
[:D] No, I think you were correct before, style="Filter: FlipV".
If you flip a C horizontally it still looks like a C. I think what drawdeselrahc is seeing is our ( looks like ) to him. Thus the FlipV flip is what he wants.
hmmm what if we are both right and he wants BOTH!!! [:D]
<font size="2"><font color="blue">Ed</font id="blue"></font id="size2">
|
|
| Top |
|
 |
|
Flügger
|
Posted: Mon Mar 06, 2006 1:56 pm |
|
Joined: Sun Dec 18, 2005 12:11 pm Posts: 115 Location: Denmark
|
Hehe, yeah, I know, and that's why I thought I was wrong in the first post, but I looked in to it, and for some reason FlipV flips along the horizontal axis and vice versa, so a FlipH will be the right one - the one to "DOC into COD"...
If you don't believe me, try it out on your own wtp...
Otherwise, here's a gallery of some CSS filters http://www.fred.net/dhark/demos/css/css ... mples.html
Last edited by Flügger on Tue May 23, 2006 8:23 am, edited 1 time in total.
|
|
| Top |
|
 |
|
Ed_P
|
Posted: Mon Mar 06, 2006 2:40 pm |
|
| Senior Member |
 |
Joined: Sat Aug 07, 2004 12:24 pm Posts: 2223 Location: Western NY, USA
|
|
| Top |
|
 |
|
Flügger
|
Posted: Mon Mar 06, 2006 2:47 pm |
|
Joined: Sun Dec 18, 2005 12:11 pm Posts: 115 Location: Denmark
|
Yeah, that's a nice demo, especially for this particular task, which brings me to the point you stated a bit earlier; we ARE both right, since mirroring in both axis is the equivalent of rotating 180 degrees, and that's what we wanted in the first place...
Think that wraps it up - for now anyways?
Update:
I implemented this in my new skin, so yeah, it was possible:
http://www.singerscreations.com/Forum/v ... php?t=1200
Last edited by Flügger on Tue May 23, 2006 9:55 am, edited 2 times in total.
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
|
|
|