This is the current state of the system after the 27/04 algorave. NOTE: this is my personal live coding system, it is not fine-tuned for general usage. You might have to update paths and various parts of the code to get it to run on your system.
31 lines
861 B
Python
31 lines
861 B
Python
BuboUtils {
|
|
|
|
*banner {
|
|
var banner = "┳┓ ┓ ┳┓ ┓ ┳┓\n"
|
|
"┣┫┓┏┣┓┏┓┣┫┓┏┣┓┏┓ ┣┫┏┓┏┓╋\n"
|
|
"┻┛┗┻┗┛┗┛┻┛┗┻┗┛┗┛ ┻┛┗┛┗┛┗";
|
|
^banner
|
|
}
|
|
|
|
*ready {
|
|
var ready = "┓ ┳┓┏┏┓ ┏┓┏┓┳┓┏┓ ┳┓┏┓┏┓┳┓┓┏\n"
|
|
"┃ ┃┃┃┣ ┃ ┃┃┃┃┣ ┣┫┣ ┣┫┃┃┗┫\n"
|
|
"┗┛┻┗┛┗┛ ┗┛┗┛┻┛┗┛ ┛┗┗┛┛┗┻┛┗┛";
|
|
^ready
|
|
}
|
|
|
|
*fancyPrint {
|
|
arg message, length;
|
|
var separator= length.collect({
|
|
arg index;
|
|
if (index % 2 == 0, "=", "-")
|
|
});
|
|
separator = separator.join("");
|
|
[separator, message, separator].do({
|
|
arg each;
|
|
each.postln;
|
|
});
|
|
}
|
|
}
|
|
|