How to create GLITTER-TEXT websites

Discussion in 'PHP' started by Nandamuri, Jun 27, 2009.

  1. #1
    Hello DPites,

    I want to create a website like the following

    http://www.gifup.com/glitter/
    http://www.glittermaker.com/
    http://www.glittermakercodes.com/...

    I knew the task can be accomplished using PHP, JS.

    But, i want the basic idea .....to begin.....I mean....

    1) If we type the letters in the INPUT FIELD ?? How are the same letters, with space, with hyphens are comming with GLITTER EFFECTS.....

    2) How is our image getting saved automatically with a specific URL
     
    Nandamuri, Jun 27, 2009 IP
  2. alfa_375

    alfa_375 Active Member

    Messages:
    445
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #2
    What exactly the glitter-text, can you explain little bit. I am just kind of curious.
     
    alfa_375, Jun 27, 2009 IP
  3. Louis11

    Louis11 Active Member

    Messages:
    783
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    70
    #3
    I've actually programmed one of these a few years back. If I can recall I accomplished it using the GD library, and a publicly available class for generating GIFs.

    Basically, I had the user enter some text into a text box. This was passed to my PHP application for basic processing. It would first generate several images of random white dots with a background color of the users choosing. It would then mask each of these images with the users text (and specified font), and then finally would merge all of the images together to create a small animated GIF. Once merged, the random noise appeared to be "glittering".

    As far as saving, GD has the option to save an image locally on your server.

    Pretty simple. I can code it for you if you are interested in hiring someone to do the work :p If not, that's how you would do it!
     
    Louis11, Jun 28, 2009 IP