Welcome to Fractal Forums

Fractal Software => Mandelbulb 3d => Topic started by: cKleinhuis on October 17, 2012, 07:34:37 PM




Title: what formula creates 3d sierpinski triangle ?!
Post by: cKleinhuis on October 17, 2012, 07:34:37 PM
hi all, what formula does render a sierpinski triangle in 3d in mb3d ?!


Title: Re: what formula creates 3d sierpinski triangle ?!
Post by: cKleinhuis on October 17, 2012, 07:41:19 PM
lo`l, found it, its called Sierpinsk3

Mandelbulb3Dv18{
b.....S....O/...I....2....kl.9RTrKk0.1KKMzXFb32ExyuiXZ43/.gaVJU.bpHvzySMyf3q6muj
................................pA7PoCdFnz1........Y./..................y.2...wD
...Uz.....U1..../M.0/.....ke....l0....E3.....owsT9SxwsqD/..........m/dkpXm1....U
z.....kD12../..........wz..................................u1....y1...sD...../..
.z1...sDvhBKmZDYmxHrMnjky8cIzQXqH0wfN6qD34jZikItTx9Eu/IO04ZQzYNcPtVJrjpDEknsOzkB
Nx9KyLwC.KlMzmym/zvfD5rD......YP..............sD.6....sD..E.0...................
.............oAnAt1...sD....z.rbT7.2UyZ.k0uL0.JcT7.wVyZ.E8uL0.ncT7......G....k1.
..................kz.wzzz1.U..6.P....U5...EB....m....c3....F....6/...I1.....SF52
...U.qFG9yzb2zzzRYoWzz7lz16.pc..zXCc..kvrEtMc7xD4ocyFE0ujz1..........2.28.kFrA0.
.Ub96aAIVz9.1se7Umvxz0........../EU0.wzzz1...........s/...................E.2c..
zzzz.............0...................2./8.kzzzD............8....................
/EU0.wzzz1...................................2CcN/UvNPcveeWCNq0.yRiibHJJUk1f..XR
SvBmx3CcN/UvNPcvQsLsUa3.ibhVi1bTV1OK.sSq4uCly3CcN/UvNPcvMwLsUa3.ibhVinqTV1OK.sSq
4uCkz3CcN/UvNPcv..EsUa3feeWCNqGQIJ36wk8EwyLsUa3f................................
E....2....E.....I....c....kIdJaQkZaPnhKOn..6ExqRm.kQ......................U/4MU/
4MU................../........zD........kz1........wz...........................
........................................................kz1.....................
........................}


Title: Re: what formula creates 3d sierpinski triangle ?!
Post by: DarkBeam on October 18, 2012, 10:04:15 AM
You can also use DIFS ;D

Mandelbulb3Dv18{
b.....x/...g2...G....2.....3bhcN8SPyz8tQr8Pfbg1E2dbHM.jJ7zHzmrM1MySpze0B57OEa.yD
................................cjmiAbLGwz1........A./.........E........y.2...wD
...Uz............Mk0/....6U6/...M.....E2.....c2rWGQw5DoD/......./K3o0dkpXm1....U
z.EnAngD12..0..........wz..................................u1....y1...sD...../..
.w1...sD.OEmX2M6/xHuEcjklTwAzkGZG3.nWMbjsXpK5yD6lwPGzTsFglODzQUaD4tb5DnDhRy3Q9Pm
XwHkL8waU0GAzi1UdqBaV2oD......YU5.............kD.2....sD.2E.....................
.............oAnAt1...sD....z.rbv4.2UiP.k0ui/.Jcv4.wViP.E8ui/.ncv4......I....k1.
.....AQxcz1.......kz.wzzz1.U..6.P....M4...EB....W....k1....F....8/...I1.....Sl52
...U.qFG9yzb2zzzRYoWzz7lz16.mc..zXCc..k18XGQeGyD4sIRhrVAkz1..........2.28.kFrA0.
.Ub96aAIVz9.1se7Umvxz0........../6U0.wzzz1...........s/...................E.0c..
zzzz.............0...................2U.8.kzzzD............8....................
/6U0.wzzz1...................................2CcN/UvNPcveeWCNq0.yRiibHJJUk1f..XR
SvBmx3CcN/UvNPcvQsLsUa3.ibhVi1bTV1OK.sSq4uCly3CcN/UvNPcvMwLsUa3.ibhVinqTV1OK.sSq
4uCkz3CcN/UvNPcv..EsUa3feeWCNqGQIJ36wk8EwyLsUa3f................................
E....E....E.....I....s.....IjlKSEZbQVZYFH/............................U1C....6U.
..........kAnAnAnAnkz........s.E........qz1.............................C/2.....
.............U/E........1.YaNaNaNa/3./..........OaNaNaNatyXaNaNaNaNizcNaNaNaNavj
.....................2.....3....6.....pPgZbFjl4NhALShZYFH/......................
....4MU/0.U.0...................................................................
.............U.EMo0FIhT67.2.....................................................
................................/....E/...k0....9tqPoBLG4B3.4B3.................
............Cs....U.06U.................Mz1........../..........................
...wzABnAnAnAbtD........kz1........../........zD........kznAnAnAnA3kz0..........
..........................................E.....I....o....kQkVKNmJKG4B3.........
......................U1C.U1Dwk106E./.....kAnAnAnAnoz..........E................
........................kz1........wz.........zD..............................zD
........kz1........wz0...........................Luca..}


Title: Re: what formula creates 3d sierpinski triangle ?!
Post by: cKleinhuis on October 18, 2012, 09:47:45 PM
ah, ok, thank you for hinting, and can you do a koch snowflake as well ??? :)


Title: Re: what formula creates 3d sierpinski triangle ?!
Post by: DarkBeam on October 22, 2012, 11:13:30 AM
Dunno how, too bad it seems to be enough complicated! :embarrass:


Title: Re: what formula creates 3d sierpinski triangle ?!
Post by: cKleinhuis on October 22, 2012, 12:50:12 PM
lol thanks for thinking about it, would have been great, today my little seminar begins, and i am introducing the most basic fractals cantor dust with its 2d and 3d variants, and as well the sierpinski triangle with its 3d companion, the snowflake is in the introductionary part because i am going to use this fractals when i introduce the mandelbox on wednesday, lol and tomorrow they will have to deal with complex multiplication (introduced geometrically) and escape time and julia stuff before we come to the mandelbulb and mandelbox part, and thursday it will be hybrids


so long ;)