Author Topic: MATHCOMP: CK0's Pyramids  (Read 7133 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
MATHCOMP: CK0's Pyramids
« on: November 27, 2006 »
Hello feeble mortals.

I have built some pyramids to ensure my immortality in the afterlife. I need a hand painting them, and to colour in the sand, and to filter the sunlight into a pretty colour.

You'll need to open it in MISE 6 or above with JavaScript turned on and your pop-up blocker off (remember to turn it on again once you have finished).

Just enter the settings and wait for the counter to reach 5264.
You are our 9001st visitor.
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17412
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: MATHCOMP: CK0's Pyramids
« Reply #1 on: November 27, 2006 »
Cool stuff :) Nice to see some browser stuff!!
Shockwave ^ Codigos
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: MATHCOMP: CK0's Pyramids
« Reply #2 on: November 27, 2006 »
Yes, I only wish I could have made it bigger and faster.
You are our 9001st visitor.
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17412
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: MATHCOMP: CK0's Pyramids
« Reply #3 on: November 27, 2006 »
You know, I don't think that matters too much with Fractals. Don't worry about it.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: MATHCOMP: CK0's Pyramids
« Reply #4 on: November 27, 2006 »
Nice :)  Typically with fractals we've waited days sometimes (remember julia sets on the amiga in interlace-ham modes?) and it's always the final image that counts.

Jim
Challenge Trophies Won:

Offline Tetra

  • DBF Aficionado
  • ******
  • Posts: 2532
  • Karma: 83
  • Pirate Monkey!
    • View Profile
Re: MATHCOMP: CK0's Pyramids
« Reply #5 on: November 27, 2006 »
I too always like to see some browser stuff. Good one :)
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: MATHCOMP: CK0's Pyramids
« Reply #6 on: November 28, 2006 »
Thanks everyone.

I thought I'd go with the interactivity angle again.
You are our 9001st visitor.
Challenge Trophies Won:

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: MATHCOMP: CK0's Pyramids
« Reply #7 on: November 28, 2006 »
Very unique. Nice job.

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: MATHCOMP: CK0's Pyramids
« Reply #8 on: November 28, 2006 »
Nice one  :)
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: MATHCOMP: CK0's Pyramids
« Reply #9 on: November 29, 2006 »
Definately very interesting to see such things using javascript !
n1
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: MATHCOMP: CK0's Pyramids
« Reply #10 on: November 29, 2006 »
Interesting indeed! I dont think I've seen anything like this in javascript before.

It works perfectly under IE like you said and although it doesnt "work" under firefox it does produce a fractal image! Squares rather than triangles.
And yeah speed isnt the issue for fractals.
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: MATHCOMP: CK0's Pyramids
« Reply #11 on: November 29, 2006 »
It would have been slower had it rendered the squares individually.

Instead, it generates the HTML code needed to render all of the squares at once.

The squares contain borders which are almost half as wide as the squares are long/wide. The result is they "mitre", giving a triangular looking border edge which resembles the side of a pyramid.

I guess FF treats the style object very differently to MSIE, and so fails to render the borders at all.
Still, quite fractally, if I do say so myself.
You are our 9001st visitor.
Challenge Trophies Won:

Offline MrP

  • Atari ST
  • ***
  • Posts: 176
  • Karma: 18
    • View Profile
Re: MATHCOMP: CK0's Pyramids
« Reply #12 on: November 30, 2006 »
Very Nice pyramids, reminds me of a backdrop from an old shoot em up type game... Ah memories..

lilw4t3rdr0p

  • Guest
Re: MATHCOMP: CK0's Pyramids
« Reply #13 on: December 03, 2006 »
I agree MrP.

Very good CombatKing!

Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
Re: MATHCOMP: CK0's Pyramids
« Reply #14 on: December 05, 2006 »
This shows the doubters that Javascript can do more than right-angles.

In your face, doubters who I work with!
You are our 9001st visitor.
Challenge Trophies Won: