viernes, 27 de enero de 2012

25 Examples of Big Backgrounds in Web Design

The look and feel of a web design is what gives a great come-on to the visitors. The functionality factor always come second as far as attracting people to the site is concerned; the first place being reserved for the aesthetic appeal. Using big backgrounds in design is one of the popular trends that are being used largely these days. Mostly they serve to emphasize the theme or the message that the site is based on. Their biggest plus point is that they are well suited to work on screens of high resolutions and are compatible with fast broadband connections. Today, we have come up with 25 examples of such big backgrounds that you can use in your web design. Check them and leave a reply if you liked them.

1. Benito’s Hat

Big Backgrounds in Web Design

2. Easy Bistro and Bar

Big Backgrounds in Web Design

3. Culinaria

Big Backgrounds in Web Design

4. CAU

Big Backgrounds in Web Design

5. National College of Art & Design Postgraduate

Big Backgrounds in Web Design

6. Hangar Door

Big Backgrounds in Web Design

7. Because Studio

Big Backgrounds in Web Design

8. Guy & Max

Big Backgrounds in Web Design

9. Kyle Steed

Big Backgrounds in Web Design

10. Chicago L-Shirts

Big Backgrounds in Web Design

11. Mike Smart

Big Backgrounds in Web Design

12. Lula Designs

Big Backgrounds in Web Design

13. Surf in Paradise

Big Backgrounds in Web Design

14. Daniel Leyva

Big Backgrounds in Web Design

15. Oh!Nena

Big Backgrounds in Web Design

16. Sur La Piste – Carlos

Big Backgrounds in Web Design

17. Gap Medics

Big Backgrounds in Web Design

18. There

Big Backgrounds in Web Design

19. Sayonara

Big Backgrounds in Web Design

20. Matthew Hilton

Big Backgrounds in Web Design

21. Alan Lim Studio

Big Backgrounds in Web Design

22. Charlotte Kidd

Big Backgrounds in Web Design

23. Guy Vernes

Big Backgrounds in Web Design

24. Shaw & Shaw

Big Backgrounds in Web Design

25. Brandon Knaster Jewelry

Big Backgrounds in Web Design

Numbers Don’t Lie: What Website Analytics Tell About Human Behavior

When my peers wanted to become singers or doctors , I wanted to become a statistician. I was spending hours and hours as a kid reading about economy statistics and making up my own countries. I know, I would have been worried about myself too.
So, it doesn’t come as a surprise that since I quit my job and developed a few websites, I’ve enjoyed checking analytics far too often. How many people visit my websites? How do they arrive there?  Today I want to share a few observations I’ve made about the data I have and draw some potentially far-fetching conclusions about human behavior, another big interest of mine.
  1. Calculer IMC
    I developed a website that helps you calculate your Body Mass Index. Bear with me, it’s in French, but we’re not going to discuss red wines and bread here. Actually what I wanted to share is some interesting pattern on the number of visitors my website receives.
    If you look at the graph showing the number of visitors between November 21 and January 21, you can see a peak occuring on January 3rd and a very strong January month so far. It seems to indicate that the peak of interest for New Year’s resolutions happens on January 3rd.It remains strong in January but gradually declines as people interests in calculating their BMI and reaching their fitness goals decrease (Or you can see it in an optimistic light and say that people are too busy reaching their fitness goals to check their BMI again). It would be interesting to compare these numbers with attendency figures in a gym for example.
  2. Gift Certificate Factory
    This website provides free gift certificate templates for professionals to print and give to their customers. December was a very high usage month, as you can see on the graph.
    1. Usage is increasing slowly until December 18th when it starts going higher and higher until it skyrockets on December 24 (the day with the most visitors, and by far).
    2. Two days after Christmas, there’s less than 10% the number of visitors during Christmas’eve. The decrease almost looks like a cliff!
    3. Activity is at all-time lows in January.
    What can we deduce from this graph?
    1. People favor doing things at the very last possible moment (24th december for Christmas is when you have to face the fact that you need to download a gift certificate)
    2. People think about gifts more during the week than during the weekend. It might be just an opportunity thing: they’d rather spend some time at work to find some gift certificates than sacrificing their free time for that. That is, except on Christmas’ eve where people couldn’t escape anymore (see 1)
    3. People don’t want to hear about gifting in January. Enough is enough!
  3. Partage De Fichier
    My biggest project by far is providing secure file sharing for small companies. I’ve focused it exclusively on the French market for now.The data here isn’t all that interesting, but we can notice a small decrease around Christmas and New Year’s. Professionals are not all that concerned with improving things at their company during holiday time. I can understand that!
What have we learned in the end? That new year resolutions don’t last long, that people will delay doing something as long as possible, and that holidays are not a good time to market stuff to the business software market. Ground-breaking stuff, as you can see

Add a Touch of Realism to Your Google Maps

Tutorial Details
  • Program: Adobe Photoshop, text editor
  • Difficulty: Beginner
  • Estimated completion time: 1-2 hours
Using the Google Maps API is one of the most popular (if not the most popular) way to show geo-locations on today’s websites. In this tutorial I’ll demonstrate how I give my google maps a more realistic look and I’ll give you some tips on how to make your own maps really shine!


Step 1: Warming Up

Our aim is to give the map a realistic look, while still allowing the user to zoom and pan it.
We’re going to obtain this effect by creating a semi-transparent .png image that will mask the map, then we’ll use some CSS to position it on top of the map.
Before opening Photoshop I suggest you take a real map, or a sheet of paper, and fold it like the map you’re trying to render. This will really help you understand how the surface reacts to the light source. Take that as a general suggestion, since I think it’s always nice to play with a piece of paper before grabbing the mouse!
While doing this you should also grab a screenshot of a google map of your choice – we’re going to use this screenshot in Photoshop as a reference.

Tip: if you’re on a Mac and want to grab a screenshot of a specific region of you screen, you can just press “command + shift + 4″, then click and drag to draw a rectangular selection of what you want to be captured.

Step 2: Map and Background

Once you’ve grabbed the screenshot you can open it in Photoshop and we’ll start working!
The first thing to do is to make the file transparent. Double-click on the background layer that contains the map and hit enter, by doing this we transform the background to a normal layer. Now we want to give ourselves some extra-space to play with, so go to Image > Canvas Size (alt + shift + C) and scale your canvas up a little bit. I added 90 pixels on each side but the dimensions are up to you and depend on the final look you want to obtain; anyway don’t worry, this size can be changed again at any time.
Now it’s time to add a background image. Just choose something that looks nice underneath a map, I chose a timber texture I found on CGtextures.com, but you can use whatever you want, be it a picture or maybe just a nice gradient.
Once you’ve chosen your background put it on a new layer at the bottom of the hierarchy.

Step 3: The Edge

At this point it’s time to give the map some shape, since this rectangle doesn’t really look like a folded piece of paper.
To do this we just use the polygonal lasso and draw the edges. At this point it really helps to place some guides where you want to create the folds, so I created a rough 3×2 grid. It doesn’t have to be accurate, but we’re going to need it often in the next steps.
Once the selection is closed you can hit the layer mask button, this will automatically create a mask that only shows the selected area.

Step 4: Folds

Having cut the edges, the following steps will deal with giving the map some depth. The first thing we want to do is making the map look like it’s folded.
First things first, create a new transparent layer, then grab the rectangular selection tool and, following the grid you set-up earlier, select 3 opposite rectangles (larger than the map) and fill them with plain black.
We’re now going to apply a mask to this layer – it has to be the same as the one we applied to the map. The easiest way to do this is to alt-click and drag the mask of the map layer and drop it on the layer we’re currently working on.
One remaining task is to turn the opacity of the layer way down to around 6-10%.

Step 5: White Border (it’s the New Black)

At this point I like to add a white border around the map. To do so create a new layer, fill it with any color you like, turn its fill to 0% and apply the same layer mask you applied to the map layer.
At the moment there’s not much to see, but that will change in a second: double-click the layer and apply a white inner stroke of 8-10 pixels. It’s very important that you apply and inner stroke because the outer stroke would have round corners which don’t look great in our case.

Step 6: Dodge and Burn

Let’s improve the lighting. We’ll do so with something similar to the dodge/burn effect. What we can do here is create 2 different layers and once again apply the usual layer mask, one layer will lighten up some folds and one will darken the others.
Select the light layer, grab a large soft white brush with low opacity and flow, then start painting close to the folds on the light rectangles of paper (the ones that don’t have the black transparent rectangles on top).
This part is hard to explain with words, but the pictures will do much better.
I set my brush to 20% opacity and 20% flow, then I draw some strokes following the grid. This doesn’t have to be accurate because we’re going to use layer masks once again.
At first it’s difficult to see these light strokes on top of the map, so, for the sake of clarity, I applied a 50% gray background underneath the layer. Obviously you don’t need to do so.
Once I’m happy with the white strokes I select the layer mask on this layer, grab the rectangular selection tool, and with the help of the grid I select the squares where I want to hide this effect. Once I have the correct selection I fill it with black.
Now you can turn the opacity of this layer down depending on how opaque your strokes are.
Tip: remember we’re creating a .png overlay for the map, so “normal” is the only blending mode we can use. This also means that if you exaggerate these white or black strokes and make them too opaque the final result may look awkward.

Step 7: Dodge and Burn Reloaded

It’s now time to do the same for the darker sides, so select the empty layer you created earlier and repeat Step 6. This time you’ll use a black or dark grey brush and you’ll select the squares you didn’t select previously.

Step 8: Drop Some Shadow

Time to draw the shadow.
To make it nice and realistic, create a new layer and use the polygonal lasso tool to draw a shape that will roughly resemble the shadow, then fill it with black.
It’s quite tricky to make the shadow look realistic, but remember this: the farther the map is from the table, the softer the edge of the shadow will be.
The smudge tool can help you a lot, I use to grab it and apply a lot to the corners, the intensity of the red represents where I concentrated more with the smudge.
The final result should look something like this:

Step 9: Cut a Hole

At this point you should have something similar to this. We’re almost done with Photoshop.
All that’s left to do is apply the usual layer mask to the shadow and background layers, so once again alt click and drag the layer mask from the map layer to the background layer, same goes for the shadow layer. Once you’ve done that, invert these two masks so select the layer mask and hit command + I (control + I on a PC).
The very last thing to do is turn off the visibility of the map layer. This way we cut a hole through all the layers and a good portion of the image is transparent.
Now the bottom of your layer stack should look like this:

Step 10: Png

Export for Web in a transparent png-24, name the file “mask.png” and close Photoshop!

Step 11: HTML and JS

The hardest part is done, now relax and open your favorite text editor.
Now you just need to create a new HTML file that uses the google maps API and a CSS file to style the thing a bit.
A lot of documentation about this API is present on Google anyway you will see in the next steps you don’t need to be an expert coder, you just need to write a few lines:
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html>
    <head>
        <title>Webdesign.tutsplus - Google Maps realistic look</title>
        <link rel="stylesheet" type="text/css" href="style.css" media="screen" />
 
        <!-- src and initialize the google maps api -->
 
        <script type="text/javascript"
            src="http://maps.googleapis.com/maps/api/js?sensor=false">
        </script>
 
        <script type="text/javascript">
            function initialize() {
                var latlng = new google.maps.LatLng(45.466, 9.186); /* latitude and longitude for the center of the map*/
                var myOptions = {
                    zoom: 14, /* zoom level of the map */
                    center: latlng,
                    mapTypeId: google.maps.MapTypeId.ROADMAP,
                    mapTypeControl: false,      /* disable the Satelite-Roadmap switch */
                    panControl: false,          /* disable the pan controller */
                    streetViewControl: false,   /* disable the streetView option */
                    zoomControl: false,         /* disable the zoom level buttons, the user will still be able to control the zoom by scrolling  */
 
                    scaleControl: true,         /* optional: shows the scale of the map */
                    scaleControlOptions: {
                        /* since we decided to show the scale, we tell the script to show it in the corner we like, in this case Bottom Left */
                        position: google.maps.ControlPosition.BOTTOM_LEFT
                    }
                };
                var map = new google.maps.Map(document.getElementById("map_canvas"),
                    myOptions); /* show the map in the element with the id: map_canvas */
            }
        </script>
    </head>
    <body onload="initialize()">
        <div id="map_container">
            <div id="map_canvas"></div>
            <div id="mask"></div>
        </div>
    </body>
</html>
As you see, the code is pretty straightforward, I just decided to change some options:
20
21
22
23
24
25
26
27
28
29
mapTypeControl: false,      /* disable the Satelite-Roadmap switch */
panControl: false,          /* disable the pan controller */
streetViewControl: false,   /* disable the streetView option */
zoomControl: false,         /* disable the zoom level buttons, the user will still be able to control the zoom by scrolling  */
 
scaleControl: true,         /* optional: shows the scale of the map */
scaleControlOptions: {
    /* since we decided to show the scale, we tell the script to show it in the corner we like, in this case Bottom Left */
    position: google.maps.ControlPosition.BOTTOM_LEFT
}
I disable the ability to switch to Satellite view as I don’t think it matches with this realistic feeling. I disabled the pan controller, streetView and zoom level for the same reason, but you’re free to do whatever you want here.

Step 12: CSS

What follows is the bare minimum to be written in the linked CSS file, and as you will see there’s nothing too complicated.
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#map_container {
    width: 1000px;
    position: relative;
 
    margin-left: auto;
    margin-right: auto;
}
 
#map_canvas {
    position: absolute;
    top: 70px;
    left: 85px;
    height: 445px;
    width: 845px;
}
 
#mask {
    position: absolute;
    top: 0;
    left: 0;
 
    height: 586px;
    width: 1000px;
 
    background: url('mask.png') no-repeat;
    background-size: 100%;
 
    pointer-events:none;
}
27 lines of this code are just to make the thing look right and you can change them any way you like, the only line you need to care about is the last one pointer-events: none;.
pointer-events: none; prevents the mouse from interacting with the #mask div, so the cursor will be able to interact with whatever’s below it. In this way the map continues to work, even if it’s obscured by a mask or something else.
If you look for pointer-events amongst your favorite documentation you will see it’s mainly used with SVG files. I think its use with the “none” value is underrated and as yet unexplored!
The rest of the CSS isn’t particularly exciting; it just places the map and mask in the right position. The map_canvas is set to be 1202px wide and 622px tall because that happens to be the size of the grid where the map is contained (red rectangle in the picture), top: 97px and left: 97px are the offset of that grid from the top left corner (blue rectangle in the picture).

Possible Applications

Now that you understand the basics you can apply this technique in many different ways.
When I designed this map it was a proof of concept and I wasn’t thinking of a particular application, but after I started writing the tutorial I figured it would be interesting to show you guys a practical way to use it. So I laid out a simple contact page and I thought it would be nice to give the map some perspective.
To do this I just selected all the layers and used Edit > transform > perspective to give the map the right distortion.
In the same way I distorted a wood texture to create the board and added a bit of shadow underneath it.
It’s an effective result and is usable at a generous size, but the png-24 file of the mask can become heavy very quickly, so this was a good size/weight compromise.
Download the source files and check out the additional .psd for yourself.

Conclusion

I hope I’ve been clear enough and you’ve succeeded making a cool map for your websites.
If you can suggest alternative ways to do this, or improvements to the workflow, please note down your thoughts in the comments section. Thanks for reading!