valkey/cmake/Modules
Madelyn Olson 83592593fa Implement a lolwut for version 9 (#2646)
As requested, here is a version of lolwut for 9 that visualizes a Julia
set with ASCII art.

Example:
```
127.0.0.1:6379> lolwut version 9

                                     .............
                                 ......................
                              ............................
                           ......:::--:::::::::::::::.......
                         .....:::=+*@@@=--------=+===--::....
                        ....:::-+@@@@&*+=====+%@@@@@@@@=-::....
                      .....:::-=+@@@@@%%*++*@@@@@@@@@&*=--::....
                     .....::--=++#@@@@@@@@##@@@@@@@@@@@@@@=::....
                    ......:-=@&#&@@@@@@@@@@@@@@@@@@@@@@@@@%-::...
                   ......::-+@@@@@@@@@@@@@@@@@@&&@@@#%#&@@@-::....
                  .......::-=+%@@@@@@@@@@@@@@@@#%%*+++++%@+-:.....
                  .......::-=@&@@@@@@@@@@@@@@@@&*++=====---::.....
                 .......:::--*@@@@@@@@@@@@@@@@@%++===----::::.....
                ........::::-=+*%&@@@@@@@@@&&&%*+==----:::::......
                ........::::--=+@@@@@@@@@@&##%*++==---:::::.......
                .......:::::---=+#@@@@@@@@&&&#%*+==---:::::.......
               ........:::::---=++*%%#&&@@@@@@@@@+=---::::........
               .......:::::----=++*%##&@@@@@@@@@@%+=--::::.......
               ......::::-----==++#@@@@@@@@@@@@@&%*+=-:::........
               ......:::---====++*@@@@@@@@@@@@@@@@@@+-:::.......
               .....::-=++==+++**%@@@@@@@@@@@@@@@@#*=--::.......
                ....:-%@@%****%###&@@@@@@@@@@@@@@@@&+--:.......
                ....:-=@@@@@&@@@@@@@@@@@@@@@@@@@@@@@@=::......
                 ...::+@@@@@@@@@@@@@@@&&@@@@@@@@%**@+-::.....
                 ....::-=+%#@@@@@@@@@&%%%&@@@@@@*==-:::.....
                  ....::--+%@@@@@@@%++==++*#@@@@&=-:::....
                   ....:::-*@**@@+==----==*%@@@@+-:::....
                     .....:::---::::::::--=+@=--::.....
                       .........::::::::::::::.......
                         .........................
                             ..................
                                    ...

Ascii representation of Julia set with constant 0.41 + 0.29i
Don't forget to have fun! Valkey ver. 255.255.255
```

You can pass in arbitrary rows and colums (it's best when rows is 2x
number of columns) and an arbitrary julia constant so it is repeatable.
Worst case it takes about ~100us on my m2 macbook, which should be fine
to make sure it's not taking too many system resources.

---------

Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Signed-off-by: Jacob Murphy <jkmurphy@google.com>
2025-10-08 13:19:23 -07:00
..
Packaging.cmake Add CMake build system for valkey (#1196) 2024-11-07 18:01:37 -08:00
SourceFiles.cmake Implement a lolwut for version 9 (#2646) 2025-10-08 13:19:23 -07:00
Utils.cmake CMake fixes + README update (#1276) 2024-11-22 12:17:53 -08:00
ValkeySetup.cmake Remove temporary build correction for RDMA and libvalkey 0.1.0 2025-09-23 12:30:50 +01:00