Merry Christmas!

December 19, 2017

I’ll be taking a break until the new year, as my daughter is visiting from out-of-town and daily hits are cut about in half at the end of the academic year. I wish a Merry Christmas and Happy New Year to my readers and their families.

sveta-gora-nativity1

Advertisement

4 Responses to “Merry Christmas!”

  1. Merry Christmas !

    (loop with height = 18 
                   for i below height
                   for w = (truncate (+ i (* (/ i 8) (sin (/ (* pi i) 2)))))
                   for l = (format nil "~A~V{*~}~A" (if (zerop (random 5)) "i " "  ") (* 2 w) '(()) (if (zerop (random 6)) " i" "  "))
                   do (format t "~VA~A~%"  (- (+ 2 height) (truncate (length l) 2)) "" l)
                   finally (loop repeat 3 do (format t "~VA||||~%" height "")))
    
  2. programmingpraxis said

    @Pascal: Run it at https://ideone.com/wxwBxs:

                       ** 
                      **** 
                      **** 
                    ******** 
                  i ********** 
                  ************ 
                  ************ 
                 ************** 
              ******************** i
              ******************** 
               ****************** 
             ********************** 
          **************************** 
          **************************** i
           ************************** 
        i ****************************** 
     ************************************** 
                      ||||
                      ||||
                      ||||
  3. Eric said

    print("Merry X’mas!")

  4. Eric said
    print("Merry X’mas!")
    

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: