+ 11

Challenge: Sierpiński Triangle ^_^

To draw it, you start with an equilateral triangle (one where all the sides are the same length) filled with color. Then hollow out a triangle in the middle, such that each vertex of that triangle is exactly in the middle of each edge of the big triangle. This creates three triangles above, to the left, and to the right of the triangle you hollowed out. You then execute the same procedure in each of these three triangles, and repeat in each of the 9 triangles you now have, then in the 27, and so on.

12th Aug 2017, 6:02 AM
JΞΜΔ 🇨🇩👑
JΞΜΔ  🇨🇩👑 - avatar
9 Réponses
12th Aug 2017, 9:19 AM
Izi Lior Katie
Izi Lior Katie - avatar
+ 4
Send me message
8th Jan 2021, 8:37 AM
JΞΜΔ 🇨🇩👑
JΞΜΔ  🇨🇩👑 - avatar
+ 3
Now it's me who don't understand you. What is your problem clearly?
8th Jan 2021, 8:34 AM
JΞΜΔ 🇨🇩👑
JΞΜΔ  🇨🇩👑 - avatar
+ 2
In English please
8th Jan 2021, 8:29 AM
JΞΜΔ 🇨🇩👑
JΞΜΔ  🇨🇩👑 - avatar
+ 1
Привет) ты можешь помочь мне?
8th Jan 2021, 8:27 AM
Просто Цар
Просто Цар - avatar
0
I'm not understand, help me
8th Jan 2021, 8:30 AM
Просто Цар
Просто Цар - avatar
0
C++
8th Jan 2021, 8:31 AM
Просто Цар
Просто Цар - avatar
0
Practice 7,2 c++
8th Jan 2021, 8:35 AM
Просто Цар
Просто Цар - avatar
0
David and Alex have aquariums. There are 8 rainbow fish swimming in David's aquarium, and 11 scalars are swimming in Alex's aquarium. Help them exchange their fish. Modify the code to change the values ​​of the aquariumDavid and aquariumAlex variables.
8th Jan 2021, 9:20 AM
Просто Цар
Просто Цар - avatar