Christmas trees from MATLAB and Simulink: 2025 edition
Over at the MathWorks discussion forums this month, some of us have been vibe coding MATLAB Christmas trees using various AI models. One of my favorites came from Vasilis Bellos who worked with Claude Opus 4.5 to enhance his code from last year which was based on the original Rotating Christmas Tree code from @Zhaoxu Liu / slandarer). The code is available on the forum post and the result is shown below. A great collaboration between human and AI programmers.

MathWorks' own Hans Scharler took this in a different direction by vibe coding an entire application that allows you to design a Christmas tree and then generate the MATLAB code to reproduce it! While taking the screenshot for this post, I noticed a little glitch with one of the sliders on my Mac. I am sure that Hans (or his AI agent) will soon update the application's GitHub repo to fix this. Download it and have a play or just open it in MATLAB Online by clicking on the badge: 
There are a bunch of other examples in the forum post from various members of the community and I encourage you to go take a look. It will be interesting to see what we can do with AI next year!
A MATLAB tree from Christmas past
The work shown in the forum post is a continuation of a long tradition where members of the MathWorks community have been using MATLAB and Simulink to produce holiday-related artwork. 20 years ago, Michelle Hirsch highlighted this example on the Pick Of The Week blog.

Written by community member, Marc Lätzel, the 20 year old code is available on File Exchange and still runs flawlessly today
An unreal Christmas tree in Simulink 3D Animation
One of the more recent Christmas tree related submissions is this Christmas tree in unreal engine by community member, halleyhit. This makes use of Simulink 3D Animation to render a Christmas tree in 3D using Unreal Engine from Epic Games.




댓글
댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.