Author Topic: JavaScript Purple Portal Effect  (Read 1312 times)

0 Members and 1 Guest are viewing this topic.

Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
JavaScript Purple Portal Effect
« on: March 23, 2015 »
I think I'm happy with my purple portal effect now - it uses 128 particles which whizz around a circular area after exploding out from the centre.

An additive blending mode is used to achieve the glow and the particles leave behind a trail which fades out to prevent the effect from turning into a white circle.

I've put it onto my Stormbringer page: http://www.barcodebattler.co.uk/stormbringer/
You are our 9001st visitor.
Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1666
  • Karma: 133
    • View Profile
Re: JavaScript Purple Portal Effect
« Reply #1 on: March 24, 2015 »
excellent effect ck! and the code is really portable too. reminds me of a high powered microscope looking at purple bacteria. nice one, i will probably have a mess around with your values just too see what crazyness happens  :)
Challenge Trophies Won:

Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
Re: JavaScript Purple Portal Effect
« Reply #2 on: March 25, 2015 »
Thanks, Nino :) I might make the circle a bit smaller since it dominates the page a bit too much, but I'm happy with the overall effect.
You are our 9001st visitor.
Challenge Trophies Won:

Offline Hotshot

  • DBF Aficionado
  • ******
  • Posts: 2114
  • Karma: 91
    • View Profile
Re: JavaScript Purple Portal Effect
« Reply #3 on: March 25, 2015 »
Nice one  :clap: