Posts

Showing posts from 2013

Java Patterns

public class pattern { public static void main(String args[]) {  for(int i=1; i<6 ; i++)  {   for(int j=1 ; j<6 ; j++)   {    if(i==5)   {    System.out.print("*");   }    if(j==5)   {    System.out.print("*");   }   else   {   System.out.print(" ");   }             } System.out.println();  }  } } public class pattern1 { public static void main(String args[]) {  for(int i=1; i<=5 ; i++)  {   for(int j=1 ; j<=5-i ; j++)   {       System.out.print(" ");   }   for(int k=1; k<=((2*i)-1); k++ )   {    System.out.print("*");   }         ...

Java Patterns

public class pattern21 {   public static void main(String args[]) {         for(int i=1; i<6 ; i++)  {   for(int j=1 ; j<=5-i ; j++)   {       System.out.print(" ");   }   int n=i; for(int k=0; k<i; k++) { System.out.print(n); n++; } n--; for(int m=1; m<i; m++) { System.out.print(--n); }   System.out.println();  }  } }

Graphic Basics

Pixel is the smallest area of screen which can be independently plotted and displayed. Resolution is the number of pixels on screen, maximum number of pixels which can be plotted without overlapping. Refresh rate is the number of times in a second that display hardware updates its buffer. Display resolution is the number of distinct pixels in each dimension that can be displayed.  Display screen is grid of points.  Frame buffer is a memory space used to store pixels' color and intensity definition. Morphing is technique that changes on image into another through seamless transition. Image based modelling rely on set of two dimensional images of scene to generate three dimensional model.  Types of Images : Bitmap, Gray scale, colour - truecolour Flickering is the gap between two frame displays. Types of Transformations : Move, Reflection, Scaling, Rotation, Shearing

Java Programs

1. print hello world using java applet.Background colour must be black. import java.applet.*;  import java.awt.*;  public class Hello extends Applet  {   public void paint(Graphics g)       {         setBackground(Color.BLACK);              g.setColor(Color.YELLOW);       g.drawString("Hello World",20,40);             } }  2. program for life cycle of applet. import java.applet.Applet; import java.awt.*; public class LifeCycle extends Applet {      String output = "";      String event;      public void init()      {           event = "Initializing...";               printOutput();      }      public void start()     ...

Theatre in Kalidasa's Art

The only structures that can be identified as theaters are caves cut in rock in central and eastern India. In eastern India there are open pavilions used for dance and drama attached to temples. The temple theaters of Kerala fit the prescriptions of Bharata’s Natyasastra in a few dimensions but all the specimens have perished. Medium rectangular playhouse, 96*48 is taken as norm which could accommodate more than 200 spectators on mat-covered floor with benches on the sides. It was divided into equal halves. Roof was supported by wooden pillars.  Four pillars associated with each class stand away from walls to designate seating are of classes or to represent unite of man in site plan indicating extending knowledge of Vedas to the sudras The domain of the performers was subdivided. It is agreed that there was a backstage from where performers could get ready, wait for their entrance or give the offstage voices. There may be a wall between backstage and stage with door...

Zabbardus ways to make your crush propose you

You are listening to Radio DAIICT Music that keeps you alive :) ________________ <jingle > Welcome to ZABBBBAR DUSSS!  This rj titoo at your service! (RJ SMILEy ) Is there someone u want to impress ?? Have a crush and want your crush to ask you out ?? sab se pehle check karo ke aapko jike par crush hai, kya woh sahi mein achha insan hai. Kya woh kisike saathe relationship mein hai ? aree...waise goal keeper khadha hai uska matlab yeh thodi hai ki hum goal nahi kar sakte!  We will tell u all the secrets of success today so stay tuned !  Next up is the song: Paani da from Vicky Donor! _____________ Cafeteria aur class mein unke paas jake betho...  unke sath kuchh bhi chahe bahana ho,time spend karni ki koshish karo. When you have the chance to talk to your crush, look interested in his talks and pay compliments , yeh bahut simple tareeka hai. kuchh common interest ke topic dhundh ke baat karo apke crush se. par unko stalk mat karna ....haa fac...

Shikhhaaaa !!! Ek post to banti hai :)

Image
    She would snatch the spoon out of the ice-cream cup and say “ek to banta hai” and that’s how “ek to banta hai” has become her tag line! She requested me to write a post on her and I just have been delaying it since many days. She is very punctual, like without fail she would wake up early and wake me up. We would be the only people walking so early in the morning and then those lazy mornings where we sit for hours sipping our beverages discussing anything under the sun, I would blabber out my thoughts to her, patiently listening to the history tales she would tell. We both share interest and she would read and narrate it to me. I like to hear her speak about her day, her feelings and her philosophies. She would go to a roomie and ask her to explain some chapters… As soon as the roomie would start, shikha would be interrupting: “haa who to aata hai” “age bata” or she wud start explaining the stuff herself: D or she would just sit with me in the cafeteria...

Blade Runner

Identification between director and Deckard is established by showing the blade runner sitting in a darkened room observing photographs of the replicants who are human replicas. He calls for close ups and tracks the shots using voight-kampff machine to gaze at the human beings whose humanness is under suspicion. Attention of camera is lethal to human subject. Camera is capable of confirming the humanity. Blade runner shows its director things along the barrel of his gun thus equating camera with death dealing piece. Gun is used to retire all replicants where as it is used to initiate rachel. Gun can be used to acknowledge or deny humanity. Flourishing of any given person’s humanity requires acknowledgement by others. The way director uses camera’s gaze transform’s subjects into what replicants are thought to be or he can preserve their subjectivity. Any failure of acknowledgement in a film is a director’s responsibility. Failure can’t be predicted apart from analyzing the f...

Shamiana Breaks the records!!

Shamiana anniversary celebrations couldn't get a better start. Maddy performed 4 melodious songs and the mood was set, the temperature had risen. The shamiana anniversary screening began with a very tasty starter …A two and a half minute film “Amdavad Appetite” by Madhvi Bhatt ensured that everybody was salivating. It took us on a drive around the city of Ahmedabad and showing tempting amdavad food. The short film “chair” got everybody thinking, everybody could have different interpretations of the short film. They used the prop chair to show that loved ones have a permanent place in our heart. As always the interaction with the movie makers was very entertaining, with cyrus sir’s humorous inputs. He makes sure he gives enough appreciation and motivation to all those who deserve and his funny comments makes sure the audience is glued! The show stopper of the evening was certainly the last movie that was screened: Henry by Canadian Yan England. It was super sad ...

Let go Everything

Right now you’re like Santa Claus. You have a big bag that you carry around with you every day of your life. But this bag is not full of presents; it’s packed with worries, concerns, past memories,  regrets  – all sorts of things that keep pulling you back. All of these things don’t allow you to be the best that you can be. Letting go of everything is actually what you need to do in order to succeed . “ So how do I let go? ”, you might ask. Here are 7 ways of letting go and achieving immediate success 1 .  Letting Go of Memories Many people feel that memories are the most important thing they have. They place memories in a treasure chest and cherish them or regret them, depending on the memory, whenever they get a chance to. And as the years go by, this treasure chest is getting heavier and heavier. And it’s hard to carry it around – all the mistakes of the past, all the beautiful moments you’ve enjoyed. And although you might feel like all of the...