• Breaking News

    Sunday, April 24, 2022

    Android Themes [CONTEST] Waterfool

    Android Themes [CONTEST] Waterfool


    [CONTEST] Waterfool

    Posted: 24 Apr 2022 05:20 AM PDT

    [WIP] Next old phone project: HTC evo 3d

    Posted: 24 Apr 2022 01:22 PM PDT

    [Theme] Cup of Joy

    Posted: 24 Apr 2022 05:21 AM PDT

    [Theme] Coalesec....

    Posted: 24 Apr 2022 12:22 PM PDT

    [Theme] The Dark Side of the Moon inspired - Any Pink Floyd fans?

    Posted: 24 Apr 2022 01:18 PM PDT

    [Theme] Grey.

    Posted: 23 Apr 2022 11:07 PM PDT

    [Theme] Blue sky

    Posted: 23 Apr 2022 03:31 PM PDT

    [Wallpaper] Amoled Waves

    Posted: 24 Apr 2022 04:15 AM PDT

    [Theme] Emptiness...

    Posted: 23 Apr 2022 12:11 PM PDT

    [Wallpaper] As requested. Guide to how increased my dynamic Firewatch wallpaper

    Posted: 23 Apr 2022 03:42 PM PDT

    Okay. So firstly you're going to want the images. I have used 8 images for mine, you can use more or less, but the code will have to be tweaked accordingly.

    It'd be cool to see other images being used, but I like the simplicity and minimalism of the Firewatch scenes, so this is what I've used. Find the images here.

    https://drive.google.com/drive/folders/1EHlRmRfllPgq2zqHTty6Q3m_hYXpiHE6

    So I'm assuming we've all got a third party launcher and KLWP installed, so I'm going to get right into it.

    In KLWP we want to click on the 'create' button at the top.

    Next we need to navigate to the 'globals' and were going to add each image as a global, this make it simpler to refer to them in the code. When on the 'globals' option, we need to click the '+' in the top right corner.

    You will then have the 'add global' dialogue box. For the names, I have called mine 'wall1' 'wall2' and so on, call them whatever you like, but you will need to refer to the name in the code, so keep it short and sweet. For the type, we want to select 'bitmap'. Then press okay.

    You will then see it says to 'pick image' click this and find the image that you want to apply to this global. Then repeat for all of the images until you have all your globals ready.

    After this, were going to want to navigate back to the 'Items 0/92' option. Again we click on the '+' at the top and we want to select 'image'. It will automatically make this 75x75...far too small, scroll down to the width and increase it until the red box reaches or just exceeds the sides of the screen preview. Don't worry about the height of the box, this will sort itself once we have entered our code.

    So what we need to do now is select the images, but we can't do that by clicking 'pick image' as this will just give us a static image. What you need to do is click the empty selection box on the right of the line. When you click this, you will see a little calculator icon appear at the top, click that, and this is where we want to enter the code.

    Now this code isn't perfect, how it works is based on the sunrise and sunset times of your location on the hour only, so if your sunrise is at 5:59am, the code will use 5am, but it still has a great effect and at near enough the right times. This is great because as the winter draws in and you have sunset at 6pm, the wallpaper will adapt to this throughout the year without having to make any changes.

    The code you need to enter in the formula editor is...

    $if(df(hh)<=(df("hh"ai(usunrise))-1),gv(wall1),if(df(hh)<=(df("hh"ai(usunrise))),gv(wall2),if(df(hh)<=(df("hh"ai(usunrise))+1),gv(wall3),if(df(hh)<=(df("hh"ai(usunrise))+2),gv(wall4),if(df(hh)<=(df("hh"ai(usunset))-4),gv(wall5),if(df(hh)<=(df("hh"ai(usunset))-3),gv(wall6),if(df(hh)<=(df("hh"ai(usunset))-2),gv(wall7),if(df(hh)<=(df("hh"ai(usunset))-1),gv(wall8),gv(wall1)))))))))$

    Now remember this code is designed for 8 images, if you have more or less, you need to tweak the code. And if you named your globals different, then you need to change these too.

    Now when you press the tick, you should see that the preview screen is completely filled with your image, if not, your phone screen is probably a different resolution to the pictures, you can just increase or decrease the width as necessary to fill the preview or format the images to fit your phone before bringing them into KLWP.

    All you need to do now is click the little save icon in the corner and get your launcher to use it as the wallpaper.

    I've put a lot of work into this, I hope you enjoy.

    If you've used different images I'd love to see your work.

    submitted by /u/Hiragandy
    [link] [comments]

    No comments:

    Post a Comment