* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Dynamically generated GIF scrolltext  (Read 3311 times)

0 Members and 1 Guest are viewing this topic.

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1324
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • My homepage
  • Gender: Male
Dynamically generated GIF scrolltext
« on: December 20, 2015, 10:14:58 pm »
Heya!

I was recovering the dynamic GIF generator for scrolling images that I wrote a few months back to generate my signature image on the fly.
Today I reworked the PHP script some more, made it even messier, but added a lot of new features. I will clean the code up one day.
I also changed my avatar to a dynamically generated version. If anybody wants to have a custom bar inside their signature or an animated avatar, I would love to help.
Those who want an avatar can give me a font and a background image, tell me the remaining settings and I will create them a dynamically changing avatar or one that is generated once that they can download.
At some point will I release the code or create a service for these images.

I hope you like them :)
« Last Edit: December 20, 2015, 10:16:54 pm by DarkestEx »


  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Hewlett-Packard 95LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, Nintendo DS Lite, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, Palm m5


Avatar drewn for me by Tabbes.

Offline p4nix

  • Full User
  • Join Date: Jun 2015
  • Location: Germany
  • Posts: 430
  • Post Rating Ratio: +6/-1
  • Don't catch the ball.
    • p4nix
  • Gender: Male
Re: Dynamically generated GIF scrolltext
« Reply #1 on: December 20, 2015, 10:22:05 pm »
Really cool plans and really cool stuff you've made. How is it working exactly under the hood? Too lazy to dig into your webserver...
  • Calculators owned: fx9860GII (SH4)

Offline kegwaan

  • Full User
  • Join Date: Dec 2015
  • Location: 34th digit of pi^1/2
  • Posts: 113
  • Post Rating Ratio: +1/-0
  • I suck, but I'm getting better.
    • /u/CL3M3NTiN3_jr
  • Gender: Male
Re: Dynamically generated GIF scrolltext
« Reply #2 on: December 20, 2015, 10:22:57 pm »
So where to I go to ask for one?
  • Calculators owned: TI-84+ SE, TI-84+ CSE
"If it's stupid and it works, it's not stupid."

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
  • Gender: Male
Re: Dynamically generated GIF scrolltext
« Reply #3 on: December 20, 2015, 11:08:29 pm »
So where to I go to ask for one?
I would say here ;)

That is really cool DarkestEx, I am going to stay with Iron Ninja Fancy Stache Man though :P
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 3133
  • Post Rating Ratio: +32/-2
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • @juju2143
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Dynamically generated GIF scrolltext
« Reply #4 on: December 21, 2015, 12:11:20 am »
That looks quite nice, can I have the code?
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
On semi-hiatus until who knows when. CODEWALRUS 2.0 COMING SOON
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1324
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • My homepage
  • Gender: Male
Re: Dynamically generated GIF scrolltext
« Reply #5 on: December 21, 2015, 12:51:56 am »
Really cool plans and really cool stuff you've made. How is it working exactly under the hood? Too lazy to dig into your webserver...
It has multiple modes. The text always scrolls, but the background might stay or move too. To generate the frames, the whole string is drawn first and cut into the individual frames. Then the frames are compiled into a gif and cached. The animation is only generated after a few hours or if I force it to rebuilt it. It is configured over an extensive config file.
PHP is the programming language. The .gif extension is archieved using Apache's .htaccess config

So where to I go to ask for one?
Just PM me and discuss what features it should have, what font and background and if it should change or stay the same.
I can host it for you if you need it to be dynamic (e.g. countdown or often changing text). We can even read in RSS feeds and refresh the image on new updates.

So where to I go to ask for one?
I would say here ;)

That is really cool DarkestEx, I am going to stay with Iron Ninja Fancy Stache Man though :P
Sure, but maybe a bar inside your signature could be cool ;)

That looks quite nice, can I have the code?
Yes, I will PM you the preliminary code.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Hewlett-Packard 95LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, Nintendo DS Lite, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, Palm m5


Avatar drewn for me by Tabbes.

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
  • Gender: Male
Re: Dynamically generated GIF scrolltext
« Reply #6 on: December 21, 2015, 12:55:37 am »
Yeah, I will think on what to put inside, could you get the Internets I have and display them as an example (the bar doesn't work very well it says I have 14 when I actually have 16 xD)
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1324
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • My homepage
  • Gender: Male
Re: Dynamically generated GIF scrolltext
« Reply #7 on: December 21, 2015, 12:57:21 am »
Yeah, I will think on what to put inside, could you get the Internets I have and display them as an example (the bar doesn't work very well it says I have 14 when I actually have 16 xD)
Yes, I can display your internets count whereever you want and even change it.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Hewlett-Packard 95LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, Nintendo DS Lite, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, Palm m5


Avatar drewn for me by Tabbes.

Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 3133
  • Post Rating Ratio: +32/-2
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • @juju2143
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Dynamically generated GIF scrolltext
« Reply #8 on: December 21, 2015, 01:00:01 am »
Heh, thanks.

The .gif extension is archieved using Apache's .htaccess config
Or you stick a ?ext=.gif at the end, would work as well.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
  • Consoles, mobile devices and vintage computers owned: A lot
On semi-hiatus until who knows when. CODEWALRUS 2.0 COMING SOON
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron

if you wanna throw money at me and/or CodeWalrus monthly it's here

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1324
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • My homepage
  • Gender: Male
Re: Dynamically generated GIF scrolltext
« Reply #9 on: December 21, 2015, 01:03:49 am »
Heh, thanks.

The .gif extension is archieved using Apache's .htaccess config
Or you stick a ?ext=.gif at the end, would work as well.
Yea sure, but actually I wouln't even need the .gif. .php works fine as I am sending the gif content type.
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Hewlett-Packard 95LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, Nintendo DS Lite, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, Palm m5


Avatar drewn for me by Tabbes.

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
  • Gender: Male
Re: Dynamically generated GIF scrolltext
« Reply #10 on: December 21, 2015, 01:13:22 am »
Yeah, I will think on what to put inside, could you get the Internets I have and display them as an example (the bar doesn't work very well it says I have 14 when I actually have 16 xD)
Yes, I can display your internets count whereever you want and even change it.
Awesome ;)

I will PM you when I give it a bit more thought  :thumbsup:
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18878
  • Post Rating Ratio: +99/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Dynamically generated GIF scrolltext
« Reply #11 on: December 21, 2015, 04:40:05 am »
I like your new avatar DarkestEx. You should make a random :walrii: scroll inside the text.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline DarkestEx

  • Super User
  • Join Date: Jan 2015
  • Location: Germany
  • Posts: 1324
  • Post Rating Ratio: +10/-2
    • @0xbmuessig
    • @muessigb
    • My homepage
  • Gender: Male
Re: Dynamically generated GIF scrolltext
« Reply #12 on: December 21, 2015, 05:52:44 am »
I like your new avatar DarkestEx. You should make a random :walrii: scroll inside the text.
Oh yea, that'd be nice
  • Calculators owned: TI-84+, Casio 101-S, RPN-Calc, Hewlett-Packard 100LX, Hewlett-Packard 95LX
  • Consoles, mobile devices and vintage computers owned: Hewlett-Packard 100LX, Hewlett-Packard 95LX, Original Commodore 64C, Tektronix AWG2021, IBM X60s, IBM X60t, Nintendo DS Lite, Nintendo GameBoy Color, Nintendo GameCube, Xbox 360, Palm m5


Avatar drewn for me by Tabbes.

Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
  • Gender: Male
Re: Dynamically generated GIF scrolltext
« Reply #13 on: December 21, 2015, 02:47:08 pm »
Can you make it scroll rally fast?
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Online c4ooo

  • Super User
  • CW Contest II Winner
  • *
  • Join Date: Aug 2015
  • Location: 127.0.0.1
  • Posts: 1017
  • Post Rating Ratio: +12/-4
  • Advanced forumer
  • Gender: Male
Re: Dynamically generated GIF scrolltext
« Reply #14 on: December 21, 2015, 03:52:55 pm »
I dont understand why the browser wont just cache it ???

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games