Author Topic: Sierpinski's Triangle  (Read 10800 times)

0 Members and 1 Guest are viewing this topic.

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: Sierpinski's Triangle
« Reply #15 on: October 08, 2010, 03:43:41 pm »
That image reminds me of TLOZ's triforce.

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Sierpinski's Triangle
« Reply #16 on: October 08, 2010, 03:47:48 pm »
true, or a RclPic or a sprite for Axe, but thats not calc generated, its technically done by you and just shown by the calc.

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Sierpinski's Triangle
« Reply #17 on: October 08, 2010, 05:47:01 pm »
Couldn't your Axe program be a lot faster if you only moved the buffer to the screen after all the points are plotted on the buffer? That way you don't get the LCD slowdown issue. But those are cool :) There is also a example on TIBD by Weregoose here.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Sierpinski's Triangle
« Reply #18 on: October 08, 2010, 05:52:39 pm »
Wow, nice. I don't get how those Sierpinski generators work. At all :(




Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Sierpinski's Triangle
« Reply #19 on: October 08, 2010, 05:53:36 pm »
yeah, but I wanted to be almost just like the BASIC one.  :P

damn, Deep Thought keeps ninja'ing people and sometimes by a minute even though I just opened the topic for like a second.  :P
« Last Edit: October 08, 2010, 05:54:38 pm by yunhua98 »

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Sierpinski's Triangle
« Reply #20 on: October 08, 2010, 05:55:47 pm »
yeah, but I wanted to be almost just like the BASIC one.  :P

damn, Deep Thought keeps ninja'ing people and sometimes by a minute even though I just opened the topic for like a second.  :P

I'm just that fast :D




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Sierpinski's Triangle
« Reply #21 on: October 08, 2010, 05:57:22 pm »
I remember the example SIerpinski program in my TI-83+ manual (the manual that had like 900 pages). It looked quite cool.

Btw how fast would be the Axe one if you did not update the LCD every pixel?

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Sierpinski's Triangle
« Reply #22 on: October 08, 2010, 05:59:34 pm »
DJ:  did you get the manual with your calc, or did you print it off?

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Sierpinski's Triangle
« Reply #23 on: October 08, 2010, 06:00:23 pm »
Okay, So I learned about the Sierpinski triangle in my 82 book. Anyway, it is created one of two ways.  The way used here is called the chaos game.  There is another one called Rule 90.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Sierpinski's Triangle
« Reply #24 on: October 08, 2010, 06:01:19 pm »
I dont think an Axe version could be created, since the basic one uses heavy floating point arithmetic :(

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Sierpinski's Triangle
« Reply #25 on: October 08, 2010, 06:01:35 pm »
DJ:  did you get the manual with your calc, or did you print it off?

The "Handbook" that came with my calc had the generator as an example program. I'm assuming that's the "User's Guide", because I checked the online manual and it's totally different.




Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Sierpinski's Triangle
« Reply #26 on: October 08, 2010, 06:03:37 pm »
???  I made one in Axe...
you don't technically need the floating point since it really just assigning every pixel a decimal between 0 and 1, just replace the 1s and 0s with 0s and 96s or 0s and 64s and your all set.  ;)

Damn, Deep Thought thats like the 5th time today!  :P
anyway, my "User Guide" isn't near 300 pages.
« Last Edit: October 08, 2010, 06:04:30 pm by yunhua98 »

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Sierpinski's Triangle
« Reply #27 on: October 08, 2010, 06:05:48 pm »
Ah gotcha, i guess i just dont fully understand how it works then XD

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Sierpinski's Triangle
« Reply #28 on: October 08, 2010, 08:26:25 pm »
Okay, So I learned about the Sierpinski triangle in my 82 book. Anyway, it is created one of two ways.  The way used here is called the chaos game.  There is another one called Rule 90.

Ah, I'd forgotten about cellular automata. I just happen to have an Axe program somewhere in my personal archives that can draw any 1D CA, including rule 90, in under two seconds.

And yes, I know it uses an incredibly inefficient routine. It was my first Axe program.
« Last Edit: October 08, 2010, 08:29:32 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Sierpinski's Triangle
« Reply #29 on: October 08, 2010, 08:56:13 pm »
DJ:  did you get the manual with your calc, or did you print it off?
It came with my 83+. It's pretty much the same as the guidebook PDF on TI website