Shop Mobile More Submit  Join Login
FlatScape [Rainmeter] by Ivaran FlatScape [Rainmeter] by Ivaran
A skin that lets you construct a custom background from various elements
Video preview 
Screenshots 


UPDATE 08.05.17

- DYNAMIC mode. Now FlatScape can reflect the time of the day, sun and moon positions, moon phases and weather.
- New menu
- New themes
- Windmill now rotates constantly (in Dynamic mode - corresponding to the wind speed)
- Some minor fixes
Add a Comment:
 
:iconaaronhong13:
aaronhong13 Featured By Owner 5 hours ago
Quick update: I haven't forgotten about this project. I still seem to have midnight/noon issues with time updates. I also can sometimes get the day change to update the sun/moon/set/rise properly and then not others.
Reply
:iconprincipio-magnus:
principio-magnus Featured By Owner 5 days ago
I'm having an issue getting the menu to respond to change the theme any idea what that issue might be?
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner 5 days ago
I haven't started looking at themes/colors yet. Still working on the dynamics.
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner 6 days ago
Update: I can't seem to get the skin to pull new information from timeanddate.com after midnight. The sun/moon/rise/set all work properly now, but will continue using the first times it acquired when the skin was last refreshed.
Reply
:iconivaran:
Ivaran Featured By Owner 5 days ago
If it helps, I made the WebParser measures update every hour regardless of the overall update rate (or so I think).
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner 5 days ago
Yeah. Sorry for the slow updates. Work has been tough. Still looking into issues.
Reply
:icondj1ndunn:
dj1ndunn Featured By Owner May 17, 2017
my spotify info doesnt show in the player... am new to rainmeter too. help would be appreciated :) 
Reply
:iconivaran:
Ivaran Featured By Owner 5 days ago
Try updating the plugin
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner 6 days ago
Update the spotify plugin. www.reddit.com/r/Rainmeter/com…
Reply
:icondj1ndunn:
dj1ndunn Featured By Owner 6 days ago
much appreciated 
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner May 16, 2017
To the people who have downloaded the zip file I created and are using it. There's a bug in the code where it seems not to update the time properly. I believe it has to do with the CurrentTime configuration using the 24 hour standard, but I have no proof of this. The sun/moon will stop moving until the skin is completely refreshed and I'm assuming a few of you have noticed. I think I may have found a fix, but will wait to post it until I verified that it's all working.
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner May 17, 2017
I believe I have fixed the requirement to constantly refresh the skin to update the sun/moon's position, but I think there might be a new issue of getting the new Sun/Moon/set/rise times after midnight. It seems to keep their old values. I think I might have a fix for this as well, but will require a bit of testing. I do know that changing your system time manually does break a lot of things though. Not sure how this would work for users with daylight savings.
Reply
:iconfadedasdf:
fadedasdf Featured By Owner May 15, 2017  New Deviant
how come my sun and moon doesn't move or even appear from the dynamics?
Reply
:iconivaran:
Ivaran Featured By Owner May 16, 2017
I'll make an update within a day or two.
Reply
:iconfadedasdf:
fadedasdf Featured By Owner May 16, 2017  New Deviant
o ok thx! can u maybe send a message to me when its updated? thanks!
Reply
:iconivaran:
Ivaran Featured By Owner May 16, 2017
Sure
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner May 15, 2017
Could you look at my mCurrentTime.inc? For some reason I can't get the time working properly. I suspect something wrong with my formula. CurrentTimeH, CurrentTimeM, and AMPM all populate properly, but CurrentTime outputs a value of 0.

pastebin.com/bQBECYRJ
Reply
:iconivaran:
Ivaran Featured By Owner May 15, 2017
You missed some brackets.

But didn't  (CurrentTimeH + [AMPM] + CurrentTimeM/60)   work? I just checked - it outputs the same number as your formula.
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner May 15, 2017
Oh to answer your question. It works 22 hours of the day. Noon/midnight doesn't work. Noon satisfies the AMPM and changes the value to 12 and CurrentTimeH is also 12, so it adds up to over 24. Midnight has a CurrentTimeH as 12, but 0 as AMPM, which makes the CurrentTime show as the 12 hour. I added 'if-then' statements to try and fix these anomalies.
Reply
:iconivaran:
Ivaran Featured By Owner May 15, 2017
Thanks for clarifying that, I'm not used to 12h.
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner May 15, 2017
I switched my mCurrentTime back to using %H and %M to make it simplier. But that would make sense. Brackets...

I think I have the rest of it figured out and I might have a solution to the days there's no moonrise/set, but I can't get this darn formula to work. I have clipped it to just the important parts. This is for the sunset calculations and I have posted the outputs below. I can't get the SunsetTime to be anything other than a zero.

pastebin.com/Vq1sWhZD
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner May 15, 2017
Hahahaha, I guess I don't really understand when I'm supposed to use them or not. I figured I'd just use them everywhere to be safe. That fixes it so it loads, but it doesn't properly add the AMPM to it for some reason and the output is.

SunsetTime=8.66667
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner May 15, 2017
I finally got it all figured out.

 [SunsetTime]
    Measure=Calc
    Formula=SunsetH + SunsetM/60 + [SunsetAMPM] - (SunsetH = 12 ? 12 : 0)
    DynamicVariables=1

This works just well. I'll add it to Sunrise and the Moon values as well. Now on to figuring out the days when the moon doesn't set.
Reply
:iconivaran:
Ivaran Featured By Owner Edited May 15, 2017
Awesome! I'll change my formulas. You don't need brackets for SunsetAMPM though.
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner Edited May 15, 2017
Could you hold on for just one moment? I got the Moonrise to show up properly in minfo (which lets it show up properly in the info). I'll package the whole thing and you can tweak it to your liking from there.

I think with the DynamicVariables you need the brackets since substitute changes strings instead of values... Or something like that. You know a lot more about this then I do, but when I take the brackets out, it breaks it.
Reply
(2 Replies)
:iconaaronhong13:
aaronhong13 Featured By Owner May 14, 2017
Hate starting a new comment chain, but I'm hoping other people can see this.

If you are in the US or your country/city for timeanddate.com uses MPH, you will need to change resources/Dynamic/Measures/mWeather.inc the 5th line. "RegExp=(?siU)Now<img id=cur-weather class=mtt title="(.*)" src=".*Wind: (.*) km/h" to "RegExp=(?siU)Now<img id=cur-weather class=mtt title="(.*)" src=".*Wind: (.*) mph". This will allow variables(dynamic).inc to update and show the wind/weather. Now that I've pointed it out though, I'm sure Ivaran will get it fixed in the next update though. Still seeing how to get the dynamic sun/moon working for myself though.
Reply
:iconivaran:
Ivaran Featured By Owner May 15, 2017
Thanks, haven't thought about that.
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner May 15, 2017
Hello.

I've made a bit of progess with this, but then hit a major roadblock. I believe there's something wrong with the parsing of the time/date of the moonrise and moonset, but can't figure out why it won't work. I have also created a formula for the AMPM issue of midnight being AM, but the value being 12 instead of 1, but maybe you could make a cleaner formula since mine's pretty messy. (This formula change has also been applied to my mCurrentTime.inc file).

My issue seems that it pulls the Sunrise and Sunset times properly from the website timeanddate.com, but fails to grab the correct moonrise and moonset times when there is no moonrise time. I have uploaded my mSunMoon.inc file to pastebin for your easy viewing. If you look at the bottom of the file, I had it write a new Key Value to the variables(dynamic) file for MoonsetM (I've tried MoonsetH, MoonsetAMPM, MoonriseH, MoonriseM, and MoonriseAMPM) and all return blank results. The file variables(dynamic).inc has a new line of "MoonTEST=". However if I try the same with any of the 'Sun' values (SunriseH, SunsetH, etc) it seems to work just fine and provides the right value that should be there. I hope that you can shed some light on this issue.

As long as you check here within the next 23 or so hours, it should show the page without a moonrise time.
www.timeanddate.com/astronomy/…

Thank you.

mSunMoon.inc file - pastebin.com/QJRT0kKE
variables(dynamic).inc  file - pastebin.com/VKmVkEjH
Reply
:iconivaran:
Ivaran Featured By Owner May 15, 2017
Aaah, right, It's the problem I've been struggling with for weeks, and still haven't found a solution. There are two days, I think, a month when there is no moonrise or moonset time because moon only rises today but sets tomorrow, or it has risen yesterday and today it only sets. 
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner May 12, 2017
Awesome theme. One thing to note. In main.ini the season and weather variable was looking at a specific Windows user and I needed to manually change this for the location to work.
Reply
:iconivaran:
Ivaran Featured By Owner May 13, 2017
But... that line shouldn't be there at all, I think I just forgot do delete it, it doesn't affect anything.
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner May 13, 2017
Odd. I couldn't get my country and city (USA/Redmond) working until after I altered that line, but perhaps a coincidence. It sees the city now and I can get the correct sun(moon)rise/set placement. It shows the sun just rising now when it was supposed to rise almost 6 hours ago. I haven't altered any ini files except the main.ini that you stated doesn't affect anything.

I will try to add an imgur link.

imgur.com/6oQUoTI

Any help on this would be greatly appreciated.
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner May 13, 2017
Actually looking at it closer, I think it might be the moon that's showing up. The color and the fact that it's not a perfect circle.
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner May 13, 2017
Last update for now.

I was checking my 'variables(dynamic).inc' file and I think it's not getting written to properly from some of the other inc files in the Measures folder. Weather is left blank and wind should be different as well.

I'm not sure about the SunPos and MoonPos since I didn't do the math, but I suspect that's the reason why my sun/moon for my dynamic theme is so off.

Thanks again for looking into this. I'll be sure to send you some beer money for helping out with all of this.


variable(dynamic).inc file


[variables]
SunPos=1.17534
MoonPos=0.07468

MoonPhase=1
MoonLight=92.4
MoonAlpha=(#Sunpos#<1 ? (255 * Abs(#Sunpos# - #MoonPos#)):255)

Weather=
Wind=0.8


Upd=3

Country=USA
City=REDMOND
Reply
:iconivaran:
Ivaran Featured By Owner May 14, 2017
Ok, first of all you're probably having problems with time format, because the calculations are based on 24h. 

Weather and wind in 'variables(dynamic).inc' are not actual weather and wind. The actual values are substituted for a few custom ones, which are then used: weather - in clouds, wind - in windmill. For example, when Weather is blank that means just normal clouds, so weather and wind are ok.

Now back to time problem. I'll probably be able to fix it with some assistance. Could you do the following:

Open Resources\Dynamic\Measures\mSunMoon.inc and in the [MeasureSun] section add Debug=2. Refresh the controller and delete this line again. Then send me 
WebParserDump.txt which should appear in the controller folder.
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner May 14, 2017
Ah, I thought that the weather and wind would be based on current weather and wind in my location.


I have uploaded the WebParserDump.txt to pastebin since it was a fairly large file.
pastebin.com/cs8txHWU

Thanks again for looking into this.
Reply
:iconivaran:
Ivaran Featured By Owner May 14, 2017
Replace mCurrentTime.inc and mSunMoon.inc with these. Does it work now?
Reply
(2 Replies)
:iconkevansl:
kevansl Featured By Owner May 11, 2017
Het thanks a lot! but for some reason, it won't recognize my location. I live in USA. thanks
Reply
:iconivaran:
Ivaran Featured By Owner May 11, 2017
Check how your location name is written on timeanddate.com, in its URL
Reply
:iconcrystalbutts:
crystalbutts Featured By Owner Apr 30, 2017  Hobbyist Digital Artist
I love this but is there a way to make the background untouchable? like i keep clicking on it (accidently) and its messing stuff up
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner May 12, 2017
Right click. Manage skin. In the bottom right one of the boxes should say Click Through. That will accomplish what you're looking for.
Reply
:iconivaran:
Ivaran Featured By Owner May 5, 2017
I fear there is no way
Reply
:iconhuffleyourpuff:
HuffleYourPuff Featured By Owner Apr 27, 2017
The spotify plug in wont work at all for some reason. It just says Artist - Track. The play button works but it doesn't change to a pause button after I click play, it always stays as a play button. The windmill also wouldn't react when I started playing spotify so I just had to set it to always spin.
Reply
:iconaaronhong13:
aaronhong13 Featured By Owner May 13, 2017
New update to the plugin is available. Should fix your issue.

forum.rainmeter.net/download/f…
Reply
:iconivaran:
Ivaran Featured By Owner Apr 27, 2017
It's the problem with the plugin itself, I guess, it will be update in some time
Reply
:iconcadeely:
Cadeely Featured By Owner Apr 14, 2017
This is gorgeous, but it doesn't load all at once for me. I have to individually select and place the icons. Is there something I'm not doing right? Thanks
Reply
Add a Comment:
 
×




Details

Submitted on
February 10
File Size
152 KB
Link
Thumb
Embed

Stats

Views
17,714 (8 today)
Favourites
146 (who?)
Comments
132
Downloads
4,821 (3 today)
×