Tuesday, June 21, 2011

Dripping Slime

By Magesh Kumar   Posted at  12:16 AM   Photoshop No comments

 
Use this tutorial to create rust, slime, or blood dripping from holes, pipes, or text.
1
Create a new image with equal height and width. For example,
 500x500 pixels. 

While holding down
 Ctrl, click on the layer you want the dripping applied to. This will select the layer's opacity.

In this case I've selected some text created with the type tool.
2
Press
 Q to enter Quick Mask Mode, and then press Ctrl+A to select all. 

Edit > Transform > Rotate 90o
 CW
3
Then, in the menu go:
Filter > Stylize > Wind...
 
Press
 OK.

If you want the rust dripping farther down, press
 Ctrl+F to repeat the Wind filter.

Edit > Transform > Rotate 90o
 CCW

4
Now, press
 Q to exit Quick Mask Mode. In the Layers window, click on the layer right under the text, or object you are applying the drips to. In this case it's the layer named Background. Now, click on theCreate New Layer button  , to create a new layer. 

Select a Rust color as the foreground color, and then press
 Alt+Backspace to fill the selection.

Press
 Ctrl+D to deselect.


Monday, June 20, 2011

Crystallize text

By Magesh Kumar   Posted at  11:51 PM   Photoshop No comments



Like all other times we create an black image and write with an white big bold font somthing on it! Like all my images I used the word GIZMO.

NNow we use the old great Effect WIND. First we make an WIND to the right. Then to the left. Then to the right (fading it a litte bit) and then to the left (fading it again!). Now it looks like this:



     Step 


Now we make the same steps again! But first we rotate the image 90°. Then we make WIND ;)
It should looks like this now:



Looks pretty nice, or not?
 
Do you remember the froze text. We do the same here.
 

We convert the image to grayscale, then to indexed colors and the last step is?
Right -> We use the Color Table and create a bacltoblue table.


My own Black to Blau Table isnt perfect ... you see? But it is soo late ... I cant do it better this time ;)

Use an gaussian blur with radius 0,5 for the last step. Finish!

Friday, June 17, 2011

Creating Grid Lines

By Magesh Kumar   Posted at  10:35 PM   Photoshop No comments

Creating grid lines with photoshop is easy, and can be used to make your imagery look tight and froody.

STEP 1


Go into the channels window and create a new channel. Make a square selection about 20 pixels wide with the marquee tool. Fill it with white.
quick              
TIP
Pressing the Alt and Backspace keys at the same time will automaticly fill the current selection with the foreground color.


STEP 2


In the menu, go:
SELECT > MODIFY > CONTRACT > Contract by: 1 pixel 

Then, fill the selection with black. It will now look like a small white outlined box. 


STEP 3


With the Marquee tool still selected, nudge the selection up and to the left, 1 pixel.

In the menu, go:
EDIT > Define Pattern 


STEP 4


Clear the selection (Ctrl-D) and create a new channel.

Open the Paint Bucket options window and set the contents to PATTERN

Fill the new channel by clicking with the paint bucket tool, and a grid texture will magically appear. 


STEP 5


Drag the grid channel onto the "Load channel as selection" button. [] 

Go to the layer window. Create a new layer and fill the selection. (Alt-Backspace) 


STEP 6


Enjoy the attractive imagery you and your new-found skills have just created and celebrate over a steaming bowl of re-digested monkey-brains.

Monday, June 6, 2011

Gradient dividers in Android

By Magesh Kumar   Posted at  3:35 AM   Android 1 comment

Many of Android’s screens use attractive dividers with gradients that fade from black to white to black.  Here’s how to create one of your own.

1. Create a file called “black_white_gradient.xml” in /res/drawable. Paste this into it.
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">
  <gradient
      android:startColor="#00000000"
      android:centerColor="#FFFFFFFF"
      android:endColor="#00000000"
      android:angle="0" />
</shape>
2. Create a view in the target layout and apply the gradient as the background.  The “black_white_gradient” in “@drawable/black_white_gradient” refers to the file name of the shape above.
<View android:id="@+id/divider"
    android:background="@drawable/black_white_gradient"
    android:layout_width="fill_parent"
    android:layout_height="1dp"
    android:layout_below="@id/someOtherThing" />

How to make a basic splash screen

By Magesh Kumar   Posted at  3:24 AM   Android No comments


Android just got splashed
Android just got splashed
The following code will show you how to create a basic splashscreen for your Android application that will stay for 5 seconds. If we don't want to wait we can tap the screen to go directly to the next Activity. Source project is on the bottom of the tutorial.

Lets go through the code to see how simple it is to make a very basic splash screen for your application.
The splashscreen will be the startup Activity for our application and on application launch a Thread will start that will listen for touch events.
01public class SplashScreen extends Activity {
02 
03    //how long until we go to the next activity
04    protected int _splashTime = 5000;
05 
06    private Thread splashTread;
07 
08    /** Called when the activity is first created. */
09    @Override
10    public void onCreate(Bundle savedInstanceState) {
11        super.onCreate(savedInstanceState);
12        setContentView(R.layout.splash);
13 
14        final SplashScreen sPlashScreen = this;
15 
16        // thread for displaying the SplashScreen
17        splashTread = new Thread() {
18            @Override
19            public void run() {
20                try {
21                    synchronized(this){
22 
23                        //wait 5 sec
24                        wait(_splashTime);
25                    }
26 
27                } catch(InterruptedException e) {}
28                finally {
29                    finish();
30 
31                    //start a new activity
32                    Intent i = new Intent();
33                    i.setClass(sPlashScreen, Main.class);
34                    startActivity(i);
35 
36                    stop();
37                }
38            }
39        };
40 
41        splashTread.start();
42    }
43 
44    //Function that will handle the touch
45    @Override
46    public boolean onTouchEvent(MotionEvent event) {
47        if (event.getAction() == MotionEvent.ACTION_DOWN) {
48            synchronized(splashTread){
49                splashTread.notifyAll();
50            }
51        }
52        return true;
53    }
54 
55}

If you have questions just let me know 

Back to top ↑
Connect with Us

What they says

© 2013 MaGeSH 2 help. WP Mythemeshop Converted by BloggerTheme9
Blogger templates. Proudly Powered by Blogger.