# Cantor #2 :D

**URL:** <https://forum.dynamobim.com/t/cantor-2-d/95056>\
**Category:** Developers\
**Created:** [October 31, 2023, 12:49pm UTC](https://forum.dynamobim.com/t/cantor-2-d/95056 "2023-10-31T12:49:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alien](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alien/32/40701_2.png) [@Alien](https://forum.dynamobim.com/u/Alien)\
**Post date:** [October 31, 2023, 12:49pm UTC](https://forum.dynamobim.com/t/cantor-2-d/95056/1 "2023-10-31T12:49:40Z")

</div>

A  
ABA  
ABABBBABA  
ABABBBABABBBBBBBBBABABBBABA ABABBBABABBBBBBBBBABABBBABABBBBBBBBBBBBBBBBBBBBBBBBBBBABABBBABABBBBBBBBBABABBBABA

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/2/f2e3a5b387a93506d122e512fc8f33ce3b57397d.png)  
This bit works fine

But the lines go wrong with iterations over 6.

My guess is rounding errors.  
Can anyone confirm?

Also… this was way easier than what I was trying to do before 😃

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/b/8bf134e1ec8388cd1d3dde797b28a6f41ea99db5.png)

---

<div class="post-metadata">

**Author:** ![Alien](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alien/32/40701_2.png) [@Alien](https://forum.dynamobim.com/u/Alien)\
**Post date:** [October 31, 2023, 8:45pm UTC](https://forum.dynamobim.com/t/cantor-2-d/95056/2 "2023-10-31T20:45:56Z")

</div>

Koch curve… These things are fun 😃

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/7/67d3e9ff903cf1ae2f73df0abe0abf95ba5421a9.png)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/b/7ba51b38a458f05b87a3af77e82d4c4b24de7dab.png)
