In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start 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
パルサー

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

 

image.pngimage.png

sergejs_kutkovics
コメット

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

I also didn't know about ST_RandomPoint function.

スポイラ
WorkflowWorkflowMacroMacroOutputOutput
alexnajm
19 - Altair
19 - Altair

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

スポイラ
Challenge 420.png
RWvanLeeuwen
ボリード

I love it when math becomes beautiful

 

Here's my take:

スポイラ
Workflow:
スポイラ
420 workflow.png

Macro:
スポイラ
420 macro 69 RWvL.png
JasperMB
アステロイド
スポイラ
Challenge #420_JB.png

Pilsner
パルサー

Great challenge, I love the mathematical element.

My solution:

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

420 results.png

  

olga_strubbe
ボリード

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
ボリード

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

nSpire
ファイアボール
スポイラ
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.

 

スポイラ
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.