

Domofractal have a lot of options (14 variables) so it needs some explanation. Dom - house. It was made after an artistic suggestion.

Domofractal can generate high rise tower, a block of 5 houses in a row, single 5 -storey block house, rectangle based Menger / JCube, pure Menger Cube and everything in between. However it has certain embeded symmetry so it woun't generate every facade possible.


  *  *  *  *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   * 

Since each variable influence the effect of other, the most easy way to generate houses is throught the Mutagen. Make general shape of house using folds. Then load it to MutaGen, switch "Exchange, add and remove Formulas" to zero and then Mutate.

Like KIFS fractals this one don't have julia set and woun't use julia set variables.

  *  *  *  *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   * 

Version 1.3
Added conditionals for faster calculation with the default value of Thickness = 0. No noticable differences in rendering.

  *  *  *  *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   * 

Variables:

The most important for house generation is Fold. 
All Fold = 0 generates modified menger sponge - single storey. 
Default value of FoldZ = 1 generates tower with 5 storeys. 

..Zooming out... 
FoldY spreads the fractal along Y axis. Lower values generate block house with 5 staircases, and then a 5 towers standing increasing apart. 

FoldX does the same in X direction, however it alsou increases the size of fractal and change the geometry so this direction should be less usefull.


AdditionX, AdditionY, AdditionZ is analog of Julia Seed. It changes shapes and alsou moves single houses around. Thus if houses are spread along Y axis, AdditionY = -1.1 will stick the pairs of houses back together forming 2 larger towers and one smaller.


DomoXY, DomoXZ, DomoYZ - streches square holes of Menger Cube into rectangles. 
Default DomoXZ = 0.5 stretches Menger Sponge squares into rectangles. DomoXY = 0 is Menger Cube. 
DomoXZ - leaves just outside carcass or fills middle with rock, aka it is internal rectangle. 
DomoYZ = 0.5 strech the squares into another direction turning central hole into cross.
These variables alsou works as additional mirrors forming right angles.

Scale - identic to the scale of the simmilar fractals. General size depends mostly on folds thus scaleing just makes fractal more solid or more loose.

Thickness - like _Asdam_Transf but of opposite sign, substracts unit vector from the main vector,  
z=z - thickness*z/|z| where Unit Vector = x,y,z / |x,y,z|  
It works like adding air to the balloon. Positive value will make fractal slightly larger, rounder and with less holes. Negative values do the opposite. This change the feel of the surface.




vMengerX, vMengerY, vMengerZ - Menger sponge variables. 
Basic of this formula is Menger sponge fractal. If all the variables exept vMenger is 0 it will generate unmodified Menger fractal. Then 1, 1, 0.5 is Menger Cube. 1,1,0 or 1,1,1, is snowflake like shape. However folding and domo functions will weaken and turn back to the houselike right angles.

Thus if FoldZ=1 (tower) and everything else =0, then only the vMenger(x,y,z) = 1,1,-1 will generate (tower of) snowflakes. Changeing FoldY=0.2 will turn this into the house with cross shaped balconies. (FoldX will not.) Then changeing Domo variables should make windows and facade nicer and more realistic.





  *  *  *  *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   * 


In another words I have no idea how it works together;)  Even throught it generates orderly shapes it is an epitome of chaotic behaviour.


  *  *  *  *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   * 


Formula is like follows:
- Fold
- Fold 

Two folds in row generates 5 storeys. Adding before a formula _folding1 transformation will add another 2 storeys to the building.

- Julia like Addition
- Menger Sponge like fractal calculation
- Scaleing
- Unit Vector Addition (thickness, _Asdam_transf)

Thus it is modified menger sponge with 4 alternations.

Code for Menger Sponge fractal is taken from Luca GN formula MengerSmt.


  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *

Original upload thread is here:
http://www.fractalforums.com/mandelbulb-3d/em-formulas-for-mandelbulb3d/


If you had made something good out of this I WANT TO SEE IT. 
So please share it here:
http://edo555.deviantart.com/ 

I don't use that site often but when I do I would like to see the pictures of these formulas. What would be pretty impossible if you aren't an active DA member.
I believe more artistic inclined folks will make out of this mutch better pictures than me. There will be some time lag for that, throught. I made a thread for this but the site soon will be locked for new posts.

http://www.fractalforums.com/gallery/em-formulas-for-mandelbulb3d-pictures/


  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *



  *  *  *  *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   * 

By Edgar Malinovsky
Use these algorithms as and where you wish as long as you give proper credits.



  *  *  *  *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   *   * 






Few examples.


1. Plain houses with no windows installed:


Mandelbulb3Dv18{
g.....S....O/...w....EA...kAf6oyYldB.nrlNlccle3EroKvIWpT0.AtbjE.yPEwz6jITg75KSzD
................................BhQqSJEF3z1........A./..................y.2...wD
...Uz6....UB.....M.0/......W....z.....E3.....YHMfs6GbhtD/..........m/dkpXm1....U
z.....kD12../.............................................U0.....y1...sD...../..
.z1...sDV7Ic49rNEynTN4DZhwSZzK4PrGeGDioDpQ2apiWbyx1XVkvDBHiSz.d1BW4QkZtDRVaE8YgY
IyP5OTM2paTXz8TepsYZBFsDU.....IM0.............sD.6....sD..G.....................
.............oAnAt1...sD....zIg7........................................M....k1.
.....4iSoz1......2kz.QLMy/kV.k7.G....Y0...U7....x2...k3...UszzzzlzzzzL2r....Sf5Q
...U.a0KyRLs4rPMRYoWyx7lz16./c..m5Bf...........U6.cXcESLfz1..........2.28.kFrA0.
.Ub96aAIVz9.1se7Umvxz0........../6U0.wzzz1...........s/...................E.0c..
zzzz.............0........E..........2U.8.kzzzD............8....................
/6U0.wzzz1....................................RpR1UvNPcvxDUCuc1.ibhVibw/ELRr.sSq
4uyZc.RpR1UTbfvtXl0.aJ5.yRiibb0AELRr.srtuSiLJ/RpR1.Aqthr7YpB.I5.kMbrS98LELRr..XR
Svhev/RpR1Emrrrx..EsUa3feeWCNqGQIJ36wk8EwyLsUa3f.YaQmJrQTBrOtx3QVtqPm3KPVtWOkR4.
E....2..F2E.....I....s....UG7FpL3poLCx3FjpqPa7LMXFLMg/..........................
..........Eim3osZZWrzWxi/FCxFizj...........Dq8iWx9Foz...........crpYAmRoLzHnAnAn
AnApz693M52RwX.ERj7w.2u2uzHYE7D1azP/./H7.ouxiixj6q8tSpeupzHtSLgEEx7xzMLS2tLFORxj
........................}
{Titel: Domorajon3}





2. Block houses with chimneys:

Mandelbulb3Dv18{
g.....m....s/...w.....A...Ui08rHycVD.L6kkKhOze2Etuukj0t7xz9tT.ciEcYtzu3WGHx4kkzD
................................fq2OC9v2.z1........A./..................y.2...wD
...Uz6....kQ.....M.0/......W....w.....E3.....gh5mjgf.LtD/.......nee70dkpXm1....U
z.....kD12../..........wz.................................U0.....y1...sD...../..
.z1...kDGzKX7/66GyXjv8FH0Yobz0pHPgC0sIqj6TIj.XJ6GyHpdi5AySvTzEfXbqdfUttDfGWHi1Yc
NyPYYUirLD6Yzi4aUmC6QCtDU.....223.............sD.6....sD..G.....................
.............oAnAt1...sD....zIg7........................................w....k1.
.....4iSoz1.....d1kz.QLMy/.U..6.P....Y0...EB....x2...k3...kE....2/...snm....SN52
...U.a0KyRLs4rPMRYoWyx7lz16.0c..0nBr...........U6.cXcESLfz1...........228.UEkw..
.Ub96aAIVz9.1se7Umvxz0...........RU0.E190............s/...................E.2c..
zzzz.............0...................2./8.kzzzD............8....................
/EU0.wzzz1....................................RpR1UvNPcvxDUCuc1.ibhVibw/ELRr.sSq
4uyZc.RpR1UTbfvtXl0.aJ5.yRiibb0AELRr.srtuSiLJ/RpR1.Aqthr7YpB.I5.kMbrS98LELRr..XR
Svhev/RpR1Emrrrx..EsUa3feeWCNqGQIJ36wk8EwyLsUa3f................................
E....2..F2E.....I....s....UG7FpL3poLCx3FjpqPa7LMXFLMg/..........................
.....................cusOP9HARyD..........EiSA7Sc3JxzUDDDNbcYbzD..........E9/BAf
92jxzAiuMwJ6Fe/EpGrPYKhylz1........0.Ndp0R3vS0wjzUeo.nu//.IbKH1W9NoxzohhAFiMm7yD
........................}
{Titel: Domorajon2}




3. Houses of better quality with balconies:

Mandelbulb3Dv18{
g.....S....6/...w....EA...E8VxX7EZeB.L0sYgA8r23EdJE0WNx98.Q0nQZLQig..t1x9hSO5PzD
................................BhQqSJEF3z1........A./..................y.2...wD
...Uz6....k7.....M.0/.....UV....w.....E3.....YHMfs6GbhtD/..........m/dkpXm1....U
z.....kD12../2...........Yyzz7ilUwvj......................U0.....y1...sD...../..
.z1...kDe7Ic49rNEyXWN4DZhwSZzG5PrGeGDioD3R2apiWbyxXaVkvDBHiSzod1BW4QkZtDcVaE8YgY
IyP9OTM2paTXzmTepsYZBFsDU.....Ie/.............sD.6....sD..G.....................
.............oAnAt1...sD....zIg7........................................H....k1.
.....4iSoz1......2kz.QLMy/kV.k7.G....Y0...U7....x2...k3...Uszzzzlzzzz5qm....Sf52
...U.G3WsSbuULRMNZPsyN9fs/6./c..m5Bf...........U6.cXcESLfz1..........2.28.kFrA0.
.Ub96aAIVz9.1se7Umvxz0........../6U0.wzzz1...........s/...................E.0c..
zzzz.............0........E..........2U.8.kzzzD............8....................
/6U0.wzzz1....................................RpR1UvNPcvxDUCuc1.ibhVibw/ELRr.sSq
4uyZc.RpR1UTbfvtXl0.aJ5.yRiibb0AELRr.srtuSiLJ/RpR1.Aqthr7YpB.I5.kMbrS98LELRr..XR
Svhev/RpR1Emrrrx..EsUa3feeWCNqGQIJ36wk8EwyLsUa3f.YaQmJrQTBrOtx3QVtqPm3KPVtWOkR4.
E....2..F2E.....I....s....UG7FpL3poLCx3FjpqPa7LMXFLMg/..........................
.....................IzcXp4ZPgzj.........zHmnSx9GdjozE6YbstaEhyj................
.....cNaNaNaNa.EXlqiqK4dtz1jWUSSwJ00.dNaNaNaNavDBnAnAnAn..YOZ8dL2nrxzAuvkMeoj6zj
........................}
{Titel: 1stEntranceInto_Fractal_Street}



4. Architectural columns for instalation of clock.

Mandelbulb3Dv18{
g.....N....w....w....E6...EWO1o7bB4G.Xm7T33S4.2E4DtMQobBl.wa6kuQJUM3.HBOmLCTyx.E
................................Q5pnAtV6my1........A./..................y.2...wD
...Uz6....k2.....Q.0/....2.W....l....2E3.....kBgeE7A7BvD/Q......Need/dkpXm1.....
z.....kD12../..........wz.................................U0.....y1...sD...../..
.z1...kDezUu72yAtx1Fm4JkAVngzquFQC7AhwojZcOIK8v3HyXqiHg8KAwEzEu.CAMPj8vDZMF3E0db
myv7/N59P5KSzK0A94vsHAtDU.....Ig....H/........sD.6....sD..G.....................
.............oAnAt1...sD....zIg7........................................4....k1.
.....4iSoz1.....6yzz.wzzzX.U..6......61...EB....m....Q3....B....8/....px....SP5A
...U.ydelyjeYFnz....z1....6.1c..6XAm..EizccZWGyD6EdGkxmWcz1...........o.8.kHxg0.
.sM93P58iz9.MmnWK2zwz0........../6U0.wzzz1...........s/........./.........E.0c..
zzzz.............0........E..........2U.8.kzzzD............8....................
/6U0.wzzz1...................................cTxO1U7XgU7JPGDC2..a2l0aAcBeTiO.k.1
AkkPzQzpJ1U7AgU7wbZymzA.a2m0akwOrTRp.M019Mm7tdTxO1U7XgU7QxbypfB.aAm0acvTuLjq.Mm6
9MmuzdTxO1U7XgU7..UypfBxr3GDC2k43XZymzQwW0KDCk.5.6LMXFLMgxpIo7LNZFLEi.bPb/U9ktqN
E....2..F2E.....I....s....UG7FpL3poLCx3FjpqPa7LMXFLMg/..........................
.....................cNaNaNaN4zD..........EUy18JaFZwz........UzDM7T.2fosEyXw559S
EjJpz........./EUGhgk.Bi9.ofVO8vAIC2./........yDQgbdXhfy2.YBUraUQJ3zzImGZ1hY7ryD
........................}
{Titel: Fractal_Street2~}




5. Non-folded fractal as modified Menger Cube.

Mandelbulb3Dv18{
g.....S....O/...w....26...EGCGMknXb1.zUZhZyq6L6E4sLeeA2Eov1./7E3UGxlzQEzlkTQsWwD
........................................kz1........A./..................y.2...wD
...Uz6....U5..../M.0/.....Uo....E/....E3.....omEQgisq6rD/..........m/dkpXm1....U
z.....kD12../..........wz.................................U0.....y1...sD...../..
.z1...kDolFZd9iBmx1..........KzJxr2fLrdjhAZeBnNCHuXP4fJZymxOzslPySyorRqDPaV0iHmo
KuHDcNPuHTrNzayP2AdjQjqDU.....2L1.............sD.6....sD..G.....................
.............oAnAt1...sD....zIg7........................................7....k1.
.....4iSoz1.......kz.QLMy3.U..6.P....Y0...EB....x2...k3....F....6/...I1.....SF52
...U.a0KyRLs4rPMRYoWyx7lz1c.3c..0nBr/..U........6.6..........0........Y28.UEkw..
.Ub96aAIVz9.1se7Umvxz0...........RU0.E190............s/...................E.2c..
zzzz.............0...................2./8.kzzzD............8....................
/EU0.wzzz1....................................RpR1UvNPcvxDUCuc1.ibhVibw/ELRr.sSq
4uyZc.RpR1UTbfvtXl0.aJ5.yRiibb0AELRr.srtuSiLJ/RpR1.Aqthr7YpB.I5.kMbrS98LELRr..XR
Svhev/RpR1Emrrrx..EsUa3feeWCNqGQIJ36wk8EwyLsUa3f................................
E....2..F2E.....I....s....UG7FpL3poLCx3FjpqPa7LMXFLMg/..........................
..........................................EnAnAnAnAtzQaNaNaNa/zj................
...................................0./..........aNaNaNaNmz1........vzAnAnAnAnAwD
........................}
{Titel: Domo_ornate}

