Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #420: The Sierpinski Triangle

ed_hayter
12 - Quasar

Great challenge to learn that ST_RandomPoint() is a function that can be used in the formula tool.

 

image.pngimage.png

sergejs_kutkovics
9 - Comet

My try :) This was a great challenge, thank you, @RWvanLeeuwen!

I also didn't know about ST_RandomPoint function.

Spoiler
WorkflowWorkflowMacroMacroOutputOutput
alexnajm
17 - Castor
17 - Castor

Upped it to 10K iterations to make it show better - what an interesting phenomenon!

Spoiler
Challenge 420.png
RWvanLeeuwen
11 - Bolide

I love it when math becomes beautiful

 

Here's my take:

Spoiler
Workflow:
Spoiler
420 workflow.png

Macro:
Spoiler
420 macro 69 RWvL.png
JasperMB
8 - Asteroid
Spoiler
Challenge #420_JB.png

Pilsner
10 - Fireball

Great challenge, I love the mathematical element.

My solution:

Spoiler
The container contains the tools I had in the macro:
420.png
 The picture was run with 10k iterations:

420 results.png

  

olga_strubbe
11 - Bolide

Thank you,  @RWvanLeeuwen!

This was a unique and interesting challenge. I did not know how the Sierpinski triangle is built until now.  Thanks for sharing. 

I leveraged your approach in building my solution. 

 

Output with 1,000 new data points: 

piic.png

Workflow: 

flow.png

 

Iterative macro: 

macro.png

 

olga_strubbe
11 - Bolide

sorry, I forgot to include the workflow & macro, here they are.

nSpire
9 - Comet
Spoiler
420.png
AkimasaKajitani
17 - Castor
17 - Castor

My solution. I created it using my own approach focused on creating the Sierpinski Triangle without following the start file text.

 

Spoiler
I don't use the random function. I created three triangles from one triangle and processed them recursively.

スクリーンショット 2024-04-07 212239.png


スクリーンショット 2024-04-07 212534.png


スクリーンショット 2024-04-07 212105.png

This sample output is made from repeating 10 times.