No snowflakes are imperfect in winter. Have you not enjoyed the short-lived snowflakes? The editor is here today to introduce to you how to achieve the snowing effect by entering specific instructions on the Mac terminal window. If you like, come and operate it!
Open terminal
After opening the terminal, please click the Shell menu in the menu at the top of the Mac screen. Then, in the Shell menu, click New Window-Ocean to create a new terminal window with a blue background. The snow effect is even better.
3... Then please enter the following code in the terminal window, you can directly copy and paste it into the terminal window, and finally press the Enter key to execute:
ruby -e ‘C=stty size.scan(/\d+/)[1].to_i;S=[“2743”.to_i(16)].pack(“U*”);a={};puts “\033[2J”;loop{a[rand©]=0;a.each{|x,o|;a[x]+=1;print “\033[#{o};#{x}H \033[#{a[x]};#{x}H#{S} \033[0;0H”};$stdout.flush;sleep 0.1}’
After the execution, you can see the snowflakes falling from the top of the terminal, which is very beautiful.
After watching the snow in the terminal window, if you want to exit the terminal, press the shortcut key Command+Q combination button, and then click Close.