Whats Trending

Glitch Effect In Photoshop

Glitch Effect

glitch effect
image-4063

Step:1
To insert image in the workspace click file->select open and select the image

select image
image-4064

Step:2
Double click the background layer and rename it as photo 1

rename
image-4065

Step:3
Create a new layer and click on to paint bucket tool and select white color.

new layer
image-4066

Step:4
Name that layer as background

name layer
image-4067

Step:5
Click ctrl+j on photo 1 layer to create a copy.

create copy
image-4068

Step:6
Drag it to the background layer and name it as photo 2

drag image
image-4069

Step:7
Add layer mask to photo 2 layer

layer mask
image-4070

Step:8
Use rectangular marquee tool to make a selection on the corners

marquee tool
image-4071

Step:9
Select the paint bucket tool and fill the selection with the black color

paint tool
image-4072

Step:10
Place the photo in center

place center
image-4073

Step:11
Now select the polygonal lasso tool and create a selection around your subject

polygonal lasso tool
image-4074

Step:12
Then add a new adjustment layer hue and saturation

adjustment hue
image-4075

Step:13
Hold the ctrl key and select layer mask for new adjustment

mask layer adjustment
image-4076

Step:14
The switch back to lasso tool and right click on the select inverse

select inverse
image-4077

Step:15
Add hue and saturation layer

add hue saturation
image-4078

Step:16
Then select both the layers and click create clipping mask. So that you can adjust the background and the subject color separately

clipping mask
image-4079

Step:17
After adjusting the color select the photo 2 layer and hue & saturation layers to merge layers

merge layers
image-4080

Step:18
Click ctrl+j on hue/Saturation 2 layer to create a copy and rename it as 1 and 2

copy layer
image-4081

Step:19
Select rectangular marquee tool to select few area of your subject

select few area
image-4082

Step:20
Select move tool and click right arrow key few times to get a wavy effect and Merge layer 1 and 2

select move tool
image-4083

Step:21
To get a wavy glitches Select rectangular marquee tool and select some larger portion

wavy glitches
image-4084

Step:22
Click Filter-> Distort->Wave

wave
image-4085

Step:23
Do the adjustment and click okay to get the wavy effect

adjust wavy effect
image-4086

Step:24
To add pattern right click on the 2 layer and go to blending option

add pattern
image-4087

Step:25
Go to pattern overlay and select the pattern mode to linear burn then click okay

pattern overlay
image-4088

Step:26
And create a copy of layer 2

create copy layer
image-4089

Step:27
To create 3D effect select the layer and go to the blending option and uncheck the channel R(red). Then select move tool and click right arrow key few times

3d effect
image-4090

Step:28
Create a copy of previous step layer and repeat the same as 27th step, but for this layer uncheck the channel R(red) and G (green) and click left arrow key few times

uncheck channel
image-4091

Double Color Exposure Effect In Photoshop

Double Color Exposure Effect

double color exposure
image-4013

Step:1
Create a new file

double color exposure
image-4014

Step:2
Open 2 images which you want to edit

double color exposure
image-4015

Step:3
To apply the effect double click on the layer 3

double color exposure
image-4016

Step:4
Layer style box will open

double color exposure
image-4017

Step:5
In the blending option if i checking the ‘R’ will give you the red and blue effect and click.

double color exposure
image-4018

Step:6
Click on to the “create new fill or adjustment layer

double color exposure
image-4019

Step:7
Select “levels” to adjust the image contrast

double color exposure
image-4020

Step:8
Adjust effect by dragging the arrow

double color exposure
image-4021

How to shake an image using html and css

Hover over the image:
Pineapple
Step:1

Copy and paste the given code

Tags: , , ,

How to create a Slideshow with CSS and JavaScript

image-3586
Step:1

Now we are going to create a slideshow using html, css and java script.  HTML is the standard markup languages for creating web pages. The html coding are as follows:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<link rel=”stylesheet” href=”style.css” />
<script src=”blog.js”></script>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Untitled Document</title>
</head><body>
<div class=”slideshow-container”>
<div class=”mySlides fade”>
<div class=”numbertext”>1 / 3</div>
<img src=”img_nature_wide.jpg” style=”width:100%”>
<div class=”text”>Caption Text</div>
</div><div class=”mySlides fade”>
<div class=”numbertext”>2 / 3</div>
<img src=”img_nature_wide.jpg” style=”width:100%”>
<div class=”text”>Caption Two</div>
</div><div class=”mySlides fade”>
<div class=”numbertext”>3 / 3</div>
<imgsrc=”img_nature_wide.jpg” style=”width:100%”>
<div class=”text”>Caption Three</div>

<a class=”prev” onclick=”plusSlides(-1)”>&#10094;</a>
<a class=”next” onclick=”plusSlides(1)”>&#10095;</a>
</div>
<br>

<div style=”text-align:center”>
<span class=”dot” onclick=”currentSlide(1)”></span>
<span class=”dot” onclick=”currentSlide(2)”></span>
<span class=”dot” onclick=”currentSlide(3)”></span>
</div>
</body>
</html>

Step:2

Now css followed by html. Css is a multiple page derived from multiple sources with a defined order of Precedence

where the definition of any style element conflict.

*

{box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
max-width: 1000px;
position: relative;
margin: auto;
}

.mySlides {
display: none;
}

/* Next & previous buttons */
.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
margin-top: -22px;
padding: 16px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
}

/* Position the “next button” to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
color: #f2f2f2;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}

/* The dots/bullets/indicators */
.dot {
cursor:pointer;
height: 13px;
width: 13px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}

.active, .dot:hover {
background-color: #717171;
}

/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}

@-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}

@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}

Step:3

Next step is to add java script.Java script is an object oriented programming language used to create interactive effects within web browser.

var slideIndex = 1;
showSlides(slideIndex);function plusSlides(n) {
showSlides(slideIndex += n);
}

function currentSlide(n) {
showSlides(slideIndex = n);
}

function showSlides(n) {
var i;
var slides = document.getElementsByClassName(“mySlides”);
var dots = document.getElementsByClassName(“dot”);
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = “none”;
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(” active”, “”);
}
slides[slideIndex-1].style.display = “block”;
dots[slideIndex-1].className += ” active”;
}

 

Tags: ,

Create an Animated Interface GIF – Photoshop

 

Step:1

Open a document of width 640 pixels and height 1136 pixels.Create a phone UI according to our needs. Draw a Circle with stroke 3pt. Open the timeline panel and make a new frame.

animated gif
image-3543

Mobile UI

Step:2

Create a rectangle shaped image and fill with color and add text to it.Create another rectangle and fill with color.Add a frame to it.

image
image-3544

Timeline panel

Step:3

Make 0.1 seconds time for the first frame.Create next frame by creating different gadgets. Apply the tween command between last and first frames.

Mobile UI
image-3545

Mobile Gadgets

Step:4

Add a new frame by creating a gadget. Insert a nature focused image in to a rectangle.Set its duration to 0.1 second. Create two  more frames by creating different gadgets.

frame
image-3546

Animation frame

Step:5

From timeline panel, click Flatten frames into layers. Every Frame will be converted in to flat layer. For example, if you have 10 frames you will also get 10 flat layers.

frames
image-3547

Flatten frames

Step:6

According to the frame set the time duration as 0.1 second. Arrange the frames according to our needs. If you think the animation is too slow, you can make it faster by selecting all the frames and set the duration to 0.2 seconds.

time
image-3548

Duration setting

Step:7

Apply the tween command again to make a new animation between first and last frame.So this is the far animation we get,Which gives a best scrolling UI.Save the file in a GIF Format.

gif
image-3549

Animated gif

 

Tags: ,

Photoshop Weather Effects – Snow

Step:1

Open the document in Photoshop. A little girl is walking in snow area .Now we want to make a snow effect to this image. Add a new layer above it.

snow
image-3534

A cute little girl

Step:2

Add a new layer above to the document.Fill the blank layer with black color. Go to Filter -> Noise -> Add noise. The noise  amount should be 25.

noise
image-3535

Noise effect

Step:3

Transform the image.Press ctrl+t and shift the image according to our needs. Change the blending mode from normal to screen.

a girl
image-3536

Snow fall

Step:4

Go Filter -> blur -> Motion blur and make the angle as -65 and distance of 12. Then add a adjustment layer above it .Make a clipping mask to the adjustment layer.

girl
image-3537

snow falling in winter

Step:5

Make a copy of these layers by pressing ctrl+j.Then transform the image by pressing ctrl+t and switch to Rotate 180.

snow fall
image-3538

Weather effect

Step:6

Go to filter -> Pixelate -> crystallize and make 12 cells.Make the adjustments according to needs.

weather effect
image-3539

A Little girl walking in a snow area

 

 

Double exposure effect in Photoshop

Step:1

Open the Photo document in Photoshop. Go to channels .In  Channels make a Copy of the blue layer by Pressing Ctrl+j

image
image-3517

Beautiful girl

Step:2

By Keeping in blue layer Go to adjustments-> levels and make the adjustments.Then make the black color as foreground and use the brush tool to color the image.

shadow
image-3518

black shadow

 

Step:3

Now turn off the blue layer in that channel. Then go to image-> adjustment -> Inverse. Make a Copy of that Layer.Make the background as white.

girl
image-3519

Attractive girl

Step:4

Now open the Forest image in Photoshop and Place that image above these two layers.Press Ctrl in that original image and add a layer mask to that above forest image.

image
image-3520

Deep Forest

Step:5

Now make a Copy of that girl image and Place above these. Go to Image-> adjustments -> De saturate. now change the blending modes to multiply.

image
image-3521

De saturated image

Step:6

Add a layer mask to it and make some adjustments using black brush. Open the forest image and go to blur -> Motion blur and make the adjustments and add a layer mask to it. Reduce the opacity to 40%.

image
image-3522

Double exposure

 

 

 

 

 

 

 

 

 

 

 

 

 

Tags: ,

Converting a Photo to a detailed sketch- Photoshop

Step:1

Open the image document in Photoshop. Duplicate the background layer by pressing Ctrl+j and rename as desaturate. Go to Image-> adjustments -> De saturate.

conversion
image-3509

Photo document

Step:2

Then duplicate the desaturated layer.Rename the layer as invert. Go to image -> adjustment -> Invert.

image
image-3510

Inversion of an image

Step:3

Change the blending modes from normal to color dodge. Then go to filter-> other -> minimum. Add a adjustment layer above this. Image -> adjustments -> levels. Change the blending modes from normal to multiply and reduce the opacity t0 25%.

image
image-3511

Pencil sketch

Step:4

Copy the background layer.Place that layer above the adjustment layer.Change the blending modes from normal to color and reduces the opacity to 70%. Change the blending modes according to your requirements.

image
image-3512

Detailed sketch

 

How to code a Rotating image slideshow w/css3 and jquery

Step:1

First we are going to lay down the Html markup of the slideshow. #slideShowContainer div is the main container element which holds the #slideShow div.

 

<!DOCTYPE html>

<html>

<head>

<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />

<title>Rotating Slideshow With jQuery and CSS3 | Tutorialzine Demo</title>

<link rel=”stylesheet” type=”text/css” href=”css/styles.css” />

</head>

<body>

<div id=”slideShowContainer”>

<div id=”slideShow”>

<ul>

<li><img src=”img/photos/1.jpg” width=”100%” alt=”Fish” /></li>

<li><img src=”img/photos/2.jpg” width=”100%” alt=”Ancient” /></li>

<li><img src=”img/photos/3.jpg” width=”100%” alt=”Industry” /></li>

<li><img src=”img/photos/4.jpg” width=”100%” alt=”Rain” /></li>

</ul>

</div>

<a id=”previousLink” href=”#”>»</a>

<a id=”nextLink” href=”#”>«</a>

</div>

<script src=”https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js“></script>

<script src=”js/jquery.rotate.js”></script>

<script src=”js/script.js”></script>

</body>

</html>

 

We included the jQuery library, our own script script.js file and the jquery rotate plugin.

 

Step:2

We can see the styling of the slideshow below:

 

rotate
image-3432

Rotating Slideshow

 

Step:3

Now iam using the jQuery rotate Plugin as it integrates with the animate( ) and css () methods of the library. we are using using jQuery’s.$.Support object to test whether the visitor’s browser supports CSS3 transformations.

 

Script.js-part1

#slideShowContainer{
width:510px;
height:510px;
position:relative;
margin:120px auto 50px;
}

#slideShow{
position:absolute;
height:490px;
width:490px;
background-color:#fff;
margin:10px 0 0 10px;
z-index:100;

-moz-box-shadow:0 0 10px #111;
-webkit-box-shadow:0 0 10px #111;
box-shadow:0 0 10px #111;
}

#slideShow ul{
position:absolute;
top:15px;
right:15px;
bottom:15px;
left:15px;
list-style:none;
overflow:hidden;
}

#slideShow li{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}

#slideShowContainer > a{
border:none;
text-decoration:none;
text-indent:-99999px;
overflow:hidden;
width:36px;
height:37px;
background:url(‘../img/arrows.png’) no-repeat;
position:absolute;
top:50%;
margin-top:-21px;
}

#previousLink{
left:-38px;
}

#previousLink:hover{
background-position:bottom left;
}

a#nextLink{
right:-38px;
background-position:top right;
}

#nextLink:hover{
background-position:bottom right;
}

 

Step:4

In second part, the fragment that is executed only in browsers that do not  support css3 transformations.The most important is update z-index( ),as otherwise the slides would be displayed in reverse order.

 

Script.js-part2

$(document).ready(function(){

var slideShow = $(‘#slideShow’),
ul = slideShow.find(‘ul’),
li = ul.find(‘li’),
cnt = li.length;

// As the images are positioned absolutely, the last image will be shown on top.
// This is why we force them in the correct order by assigning z-indexes:

updateZindex();

if($.support.transform){

// Modern browsers with support for css3 transformations

li.find(‘img’).css(‘rotate’,function(i){
// Rotating the images counter-clockwise
return (-90*i) + ‘deg’;
});

// Binding a custom event. the direction and degrees parameters
// are passed when the event is triggered later on in the code.

slideShow.bind(‘rotateContainer’,function(e,direction,degrees){

// Zooming in the slideshow:

slideShow.animate({
width        : 510,
height        : 510,
marginTop    : 0,
marginLeft    : 0
},’fast’,function(){

if(direction == ‘next’){

// Moving the topmost image containing Li at
// the bottom after a fadeOut animation

$(‘li:first’).fadeOut(‘slow’,function(){
$(this).remove().appendTo(ul).show();
updateZindex();
});
}
else {

// Showing the bottommost Li element on top
// with a fade in animation. Notice that we are
// updating the z-indexes.

var liLast = $(‘li:last’).hide().remove().prependTo(ul);
updateZindex();
liLast.fadeIn(‘slow’);
}

// Rotating the slideShow. css(‘rotate’) gives us the
// current rotation in radians. We are converting it to
// degrees so we can add +90 or -90.

slideShow.animate({
rotate:Math.round($.rotate.radToDeg(slideShow.css(‘rotate’))+degrees) + ‘deg’
},’slow’).animate({
width        : 490,
height        : 490,
marginTop    : 10,
marginLeft    : 10
},’fast’);
});
});

// By triggering the custom events below, we can
// show the previous / next images in the slideshow.

slideShow.bind(‘showNext’,function(){
slideShow.trigger(‘rotateContainer’,[‘next’,90]);
});

slideShow.bind(‘showPrevious’,function(){
slideShow.trigger(‘rotateContainer’,[‘previous’,-90]);
});
}

› Continue reading

Painterly glow effect using Photoshop

Step:1

Open the Photo document in Photoshop.Make a copy of the background layer.Then Convert it to smart filter. Go to Filter-> Convert to smart filter.Then add a motion blur filter. Go to blur -> Motion blur -> angle-90 and distance -45o.

motion blur
image-3400

Flower pot with Blurred effect

Step:2

Convert the blending modes from normal to hard light. Then make a copy of the layer1. Change the values of the motion blur filter.Change the value of distance as 355 and angle as -45.

pot
image-3401

Lighting glow effect

Step:3

Make a copy of the layer 1 copy by pressing ctrl+j. Change the values in the motion blur effect as distance- 290 and angle -45.

pot
image-3402

Glimmered flower pot

Step:4

Make these layers in to a group by pressing ctrl+g.Add a layer mask to the group.use the gradient tool( black ad white) and make a paint over the layer mask from center to the end point.

photoshop
image-3403

Painterly glow effect

 

Request a Free SEO Quote