Walkers Join! - Alan Walker's logo

  • You might know Alan Walker from his ever popular song Faded. Now his "followers" are called Walkers and they have a logo, here is a simplified version:



    \\
    \\ //\\
    \\ // \\ //
    \\ // \\ //
    \\ // \\ //
    \\ // \\ //
    \\ // \\ //
    \\ // //\\ \\ //
    \\// // \\ \\//
    // // \\ \\
    //\\ // \\ //\\
    \\// \\// \\
    \\


    The goal of this challenge is to print this logo.



    RULES:




    1. If you return a list of strings from a function as per meta standards, please provide a footer that prints it to the screen.

    2. All characters of the above logo have to be there. No shortcuts!

    3. Shortest number of bytes wins!


    can there be extra spaces at the end of each line (as they don't change how the output looks)? Can there be leading/appending newlines?

    @dzaima, yes you can.

    +1 for Alan Walker!!

    Walkers Join! - W41k3r 28881

  • Neil

    Neil Correct answer

    4 years ago

    Charcoal, 31 30 29 27 bytes



    F²«Jι⁰↙χ↖↖⁵↙↙⁵↖↖²P↖χ↙↗χ↘↘¹²


    Try it online! Link is to verbose version of code. Sadly Copy doesn't do what I want in this case, so I have to loop instead. Explanation:



    F²«Jι⁰


    Draw everything twice, but with the cursor starting one character to the right the second time.



       ↙χ↖↖⁵↙↙⁵↖↖²P↖χ


    Draw the main W from right to left, but leave the cursor near the inverted V.



       ↙↗χ↘↘¹²


    Draw the inverted V.


    You "only" beat the naive solutions by 20 bytes :P

    @StepHen A 46% saving isn't bad given the overhead of setting a loop up in the first place...

    Is mirroring just not shorter for this?

    @StepHen Fixing up the asymmetry costs too much. Best I could do was 35 bytes: `F²«Jι⁰↘χ↗↗⁵M⁵↑←↙χ»‖M↥\\¶ \\F²«Jι⁰↖³`.

License under CC-BY-SA with attribution


Content dated before 7/24/2021 11:53 AM