1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

Port before_v0.60/fun folder (issue #221) (#835)

This PR is part of porting all old scripts #221 and ports `fun` folder

<details><summary>Summary</summary>

### star.nu
```yaml
from: before_v0.60/fun/star.nu
to: modules/fun/star.nu
```

### spark.nu
The script has already been ported. I've removed old version.
```yaml
from: before_v0.60/fun/spark.nu
to: sourced/fun/spark.nu
functions:
  spark: sourced/fun/spark.nu:1:spark
```

### life.nu
```yaml
from: before_v0.60/fun/life.nu
to: modules/fun/life.nu
```

### lisp_mode.nu
There is a problem with this module because `-` is not allowed in names
anymore, however `def "-"` is a valid syntax, but you will be unable to
call this function.
```yaml
from: before_v0.60/fun/lisp_mode.nu
to: sourced/fun/lisp_mode.nu
```


### nyancat.nu
I also fixed animation frames from https://github.com/klange/nyancat
```yaml
from: before_v0.60/fun/nyancat.nu
to: modules/fun/nyancat.nu
```


</details>
This commit is contained in:
Igor 2024-05-13 16:55:11 +04:00 committed by GitHub
parent b40ead9ae2
commit 2fe0756df9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 194 additions and 236 deletions

75
modules/fun/life.nu Normal file
View file

@ -0,0 +1,75 @@
def alive [x_pos: int, y_pos: int, $grid] {
let width = ($grid | get width)
let height = ($grid | get height)
let data = ($grid | get data)
let $left_x = (if $x_pos == 0 { $width - 1} else { $x_pos - 1})
let $right_x = (if $x_pos == ($width - 1) { 0 } else { $x_pos + 1})
let $up_y = (if $y_pos == 0 { $height - 1} else { $y_pos - 1})
let $down_y = (if $y_pos == ($height - 1) { 0 } else { $y_pos + 1})
let $n = ($data | get ($x_pos + $up_y * $width) | into int)
let $nw = ($data | get ($left_x + $up_y * $width) | into int)
let $w = ($data | get ($left_x + $y_pos * $width) | into int)
let $sw = ($data | get ($left_x + $down_y * $width) | into int)
let $s = ($data | get ($x_pos + $down_y * $width) | into int)
let $se = ($data | get ($right_x + $down_y * $width) | into int)
let $e = ($data | get ($right_x + $y_pos * $width) | into int)
let $ne = ($data | get ($right_x + $up_y * $width) | into int)
let total = $n + $nw + $w + $sw + $s + $se + $e + $ne
let $curr = ($data | get ($x_pos + $y_pos * $width))
if ($total == 3) or ($total == 2 and $curr) {
true
} else {
false
}
}
def generation [$grid] {
let width = ($grid | get width)
let height = ($grid | get height)
let data = ($grid | get data)
let next_generation = (
0..<$height | each {|y|
0..<$width | each {|x|
alive $x $y $grid
}
}
) | flatten
{ width: $width, height : $height, data: $next_generation }
}
def print-grid [$grid] {
$grid.data | flatten | group ($grid | get width) | each {|x|
$x | each {|item|
if $item {
"*"
} else {
"."
}
} | append (char nl) | str join
} | str join ""
}
def main [] {
let width = 15
let height = 15
let data = (0..<($width * $height) | each {
random bool
})
let grid = { width: $width, height : $height, data: $data }
print (print-grid $grid)
1..100 | reduce --fold ($grid) {|it acc|
let next_grid = (generation $acc)
print $"(char -u '1b')[2J" (print-grid $next_grid)
$next_grid
} | ignore
}

67
modules/fun/nyancat.nu Normal file
View file

@ -0,0 +1,67 @@
# yay! the nyancat in nushell
# based off this C code https://github.com/klange/nyancat
# each frame has the nyancat with stars flying by and the rainbow waving as it animates
let frame0 = ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,''''''''''''''',,,,,,,,,,,,,,,,,,,,,,,,,,>>>>>>>>,,,,,,,,>>>>>>'@@@@@@@@@@@@@@@',,,,,,,,,,,,,,,,,,,,,,,>>>>>>>>>>>>>>>>>>>>>>>'@@@$$$$$$$$$$$@@@',,,,,,,,,,,,,,,,,,,,,,>>&&&&&&&&>>>>>>>>&&&&&'@@$$$$$-$$-$$$$@@',,,,,,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@$$-$$$$$$''$-$$@','',,,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@$$$$$$$$'**'$$$@''**',,,,,,,,,,,,,,,,,,&&++++++++&&&&&&&&'''++'@$$$$$-$$'***$$$@'***',,,,,,,,,,,,,,,,,,++++++++++++++++++**''+'@$$$$$$$$'***''''****',,,,,,,,,,,,,,,,,,++++++++++++++++++'**'''@$$$$$$$$'***********',,,,,,,,,,,,,,,,,,++########++++++++''**''@$$$$$$-'*************',,,,,,,,,,,,,,,,,###################''**'@$-$$$$$'***.'****.'**',,,,,,,,,,,,,,,,,####################''''@$$$$$$$'***''**'*''**',,,,,,,,,,,,,,,,,##========########====''@@$$$-$$'*%%********%%',,,,,,,,,,,,,,,,,======================='@@@$$$$$$'***''''''**',,,,,,,,,,,,,,,,,,==;;;;;;;;.=======;;;;'''@@@@@@@@@'*********',,,,,,,,,,,,,,,,,,,;;;;;;;;;;;;;;;;;;;;;'***''''''''''''''''''',,,,,,,,,,,,,,,,,,,,;;;;;;;;;;;;;;;;;;;;;'**'','*',,,,,'*','**',,,,,,,,,,,,,,,,,,,,,;;,,,,,.,,;;;.;;;;,,,'''',,'',,,,,,,'',,'',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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$$$@@',,,,,,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@$$-$$$$$$$''-$$@',,'',,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@$$$$$$$$$'**'$$@','**',,,,,,,,,,,,,,,,,&&++++++++&&&&&&&&+++++'@$$$$$-$$$'***$$@''***',,,,,,,,,,,,,,,,,+++++++++++++++++++'+++'@$$$$$$$$$'***''''****',,,,,,,,,,,,,,,,,++++++++++++++++++'*'++'@$$$$$$$$$'***********',,,,,,,,,,,,,,,,,++########++++++++'*''''@$$$$$$-$'*************',,,,,,,,,,,,,,,,###################****'@$-$$$$$$'***.'****.'**',,,,,,,,,,,,,,,,###################''**'@$$$$$$$$'***''**'*''**',,,,,,,,,,,,,,,,##========########==='''@@$$$-$$$'*%%********%%',,,,,,,,,,,,,,,,======================='@@@$$$$$$$'***''''''**',,,,,,,,,,,,,,,,,==;;;;;;;;========;;;;;''@@@@@@@@@@'*********',,,,,,,,,,,,,,,,,,;;;;;;;;;;;;;;;;;;;;;;'**'''''''''''''''''''',,,,,,,,,,,,,,,,,,,;;;;;;;;;;;;;;;;;;;;;;'**','*',,,,,,**','**',,,,,,,,,,,,,,,,,,,,;;,,,.,,,,;;;;;;;;,,,,''',,,'',,,,,,''',,''',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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,,,,,,,,,,,,+++++++++++++++++++++++'@$$$$$$$$$'***''''****',,,,,,,,,,,,,,,,,##+++++++########++++++'@$$$$$$$$$'***********',,,,,,,,,,,,,,,,,######################''@$$$$$$-$'*************',,,,,,,,,,,,,,,,###################'''''@$-$$$$$$'***.'****.'**',,,,,,,,,,,,,,,,==#######========#'****'@$$$$$$$$'***''**'*''**',,,,,,,,,,,,,,,,==================='''='@@$$$-$$$'*%%********%%',,,,,,,,,,,,,,,,;;=======;;;;;;;;======'@@@$$$$$$$'***''''''**',,,,,,,,,,,,,,,,,;;;;;;;;;;;;;;;;;;;;;;;''@@@@@@@@@@'*********',,,,,,,,,,,,,,,,,,;.;;;;;;;;;;;;;;;;;;;;;'*'''''''''''''''''''',,,,,,,,,,,,,,,,,,,.,.;;;;;;,,,,,,,,;;;;;;'**',**',,,,,,**','**',,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,''',,''',,,,,,''',,''',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,>>,,,,,,,>>>>>>>>,,,,,,,,''''''''''''''',,,,,,,,,,,,,,,,,,,,,,,,>>>>>>>>>>>>>>>>>>>>>>>>'@@@@@@@@@@@@@@@',,,,,,,,,,,,,,,,,,,,,,,&&>>>>>>>&&&&&&&&>>>>>>'@@@$$$$$$$$$$$@@@',,,,,,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@@$$$$$-$$-$$$$@@',,,,,,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@$$-$$$$$$$''-$$@',,'',,,,,,,,,,,,,,,,,,++&&&&&&&++++++++&&&&&&'@$$$$$$$$$'**'$$@','**',,,,,,,,,,,,,,,,,+++++++++++++++++++++++'@$$$$$-$$$'***$$@''***',,,,,,,,,,,,,,,,,+++++++++++++++++++++++'@$$$$$$$$$'***''''****',,,,,,,,,,,,,,,,,##+++++++########++++++'@$$$$$$$$$'***********',,,,,,,,,,,,,,,,,#####################'''@$$$$$$-$'*************',,,,,,,,,,,,,,,,###################''**'@$-$$$$$$'***.'****.'**',,,,,,,,,,,,,,,,==#######========##****'@$$$$$$$$'***''**'*''**',,,,,,,,,,,,,,,,=================='*'=='@@$$$-$$$'*%%********%%',,,,,,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,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,>>>>>>>>,,,,,,,,>>>>>>>''''''''''''''',,,,,,,,,,,,,,,,,,,,,,,,>>>>>>>>>>>>>>>>>>>>>>>>'@@@@@@@@@@@@@@@',,,,,,,,,,,,,,,,,,,,,,,>>&&&&&&&&>>>>>>>>&&&&&'@@@$$$$$$$$$$$@@@',,,,,,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@@$$$$$-$$-$$$$@@',,,,,,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@$$-$$$$$$''$-$$@','',,,,,,,,,,,,,,,,,,,&&++++++++&&&&&&&&+++++'@$$$$$$$$'**'$$$@''**',,,,,,,,,,,,,,,,,,+++++++++++++++++++++++'@$$$$$-$$'***$$$@'***',,,,,,,,,,,,,,,,,,++++++++++++++++++'''++'@$$$$$$$$'***''''****',,,,,,,,,,,,,,,,,,++########+++++++'**''''@$$$$$$$$'***********',,,,,,,,,,,,,,,,,,#################'****''@$$$$$$-'*************',,,,,,,,,,,,,,,,,##################''''*'@$-$$$$$'***.'****.'**',,,,,,,,,,,,,,,,,##========########==='''@$$$$$$$'***''**'*''**',,,,,,,,,,,,,,,,,======================='@@$$$-$$'*%%********%%',,,,,,,,,,,,,,,,,==;;;;;;;;========;;;;''@@@$$$$$$'***''''''**',,,,,,,,,,,,,,,,,,;;;;;;;;;;;;;;;;;;;;;''''@@@@@@@@@'*********',,,,,,,,,,,,,,,,,,,;;;;;;;;;;;;;;;;;;;;'***'''''''''''''''''''',,,,,,,,,,,,,,,,,,,,;;,,,,,,,,;;;;;;;;,,'**','**,,,,,,'**,'**',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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>>>'@@@@@@@@@@@@@@@',,,,,,,,,,,,,,,,,,,,,,,>>&&&&&&&&>>>>>>>>&&&&&'@@@$$$$$$$$$$$@@@',,,,,,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@@$$$$$-$$''$$$@@','',,,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@$$-$$$$$'**'-$$@''**',,,,,,,,,,,,,,,,,,&&++++++++&&&&&&&&+++++'@$$$$$$$$'***$$$@'***',,,,,,,,,,,,,,,,,,+++++++++++++++++++'+++'@$$$$$-$$'***''''****',,,,,,,,,,,,,,,,,,++++++++++++++++++'*'++'@$$$$$$$$'***********',,,,,,,,,,,,,,,,,,++########++++++++'*''''@$$$$$$$'*************',,,,,,,,,,,,,,,,,###################****'@$$$$$$-'***.'****.'**',,,,,,,,,,,,,,,,,###################''**'@$-$$$$$'***''**'*''**',,,,,,,,,,,,,,,,,##========########==='''@$$$$$$$'*%%********%%',,,,,,,,,,,,,,,,,======================='@@$$$-$$$'***''''''**',,,,,,,,,,,,,,,,,,==;;;;;;;;========;;;;''@@@$$$$$$$'*********',,,,,,,,,,,,,,,,,,.;;;;;;;;;;;;;;;;;;;;;'*''@@@@@@@@@@''''''''',,,,,,,,,,,,,,,,,,,.;;;;;;;;;;;;;;;;;;;;'***''''''''''''''''*',,,,,,,,,,,,,,,,,,,,,,;;,,,,,,,,;;;;;;;;,,'**','**,,,,,,'**,'**',,,,,,,,,,,,,,,,,,..,.,,,,,,,,,,,,,,,,,,,,''',,''',,,,,,''',,''',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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$$$$-$$'***$$$@'***',,,,,,,,,,,,,,,,,,++++++++++++++++++'*''+'@$$$$$$$$'***''''****',,,,,,,,,,,,,,,,,,++++++++++++++++++'**'''@$$$$$$$$'***********',,,,,,,,,,,,,,,,,,##+++++++########++'**''@$$$$$$-'*************',,,,,,,,,,,,,,,,,###################''**'@$-$$$$$'***.'****.'**',,,,,,,,,,,,,,,,,####################''''@$$$$$$$'***''**'*''**',,,,,,,,,,,,,,,,,==#######========#####''@@$$$-$$'*%%********%%',,,,,,,,,,,,,,,,,======================='@@@$$$$$$'***''''''**',,,,,,,,,,,,,,,,,,;;=======;;;;;;;;====='''@@@@@@@@@'*********',,,,,,,,,,,.,,,,,,,;;;;;;;;;;;;;;;;;;;;;'***''''''''''''''''''',,,,,,,,,,.,,,.,,,,,;;;;;;;;;;;;;;;;;;;;;'**'','*',,,,,'**,'**',,,,,,,,,,,,,,,,,,,,,,,;;;;;;;,,,,,,,,;;;;'''',,'',,,,,,,'',,'',,,,,,,,,,,.,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,..,..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,''''''''''''''',,,,,,,,,,,,,,,,,,,,,,,,>>,,,,,,,>>>>>>>>,,,,,,,'@@@@@@@@@@@@@@@',,,,,,,,,,,,,,,,,,,,,,,>>>>>>>>>>>>>>>>>>>>>>>'@@@$$$$$$$$$$$@@@',,,,,,,,,,,,,,,,,,,,,,&&>>>>>>>&&&&&&&&>>>>>>'@@$$$$$-$$-$$$$@@',,,,,,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@$$-$$$$$$$''-$$@',,'',,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@$$$$$$$$$'**'$$@','**',,,,,,,,,,,,,,,,,++&&&&&&&++++++++&&&&&&'@$$$$$-$$$'***$$@''***',,,,,,,,,,,,,,,,,+++++++++++++++++++'+++'@$$$$$$$$$'***''''****',,,,,,,,,,,,,,,,,++++++++++++++++++'*'++'@$$$$$$$$$'***********',,,,,,,,,,,,,,,,,##+++++++########+'*''''@$$$$$$-$'*************',,,,,,,,,,,,,,,,###################****'@$-$$$$$$'***.'****.'**',,,,,,,,,,,,,,,,###################''**'@$$$$$$$$'***''**'*''**',,,,,,,,,,,,,,,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...,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,>>>>>>>>,,,,,,,,>>>>>>>''''''''''''''',,,,,,,,,,,,,,,,,,,,,,,,>>>>>>>>>>>>>>>>>>>>>>>>'@@@@@@@@@@@@@@@',,,,,,,,,,,,,,,,,,,,,,,>>&&&&&&&&>>>>>>>>&&&&&'@@@$$$$$$$$$$$@@@',,,,,,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@@$$$$$-$$-$$$$@@',,,,,,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@$$-$$$$$$$''-$$@',,'',,,,,,,,,,,,,,,,,,&&++++++++&&&&&&&&+++++'@$$$$$$$$$'**'$$@','**',,,,,,,,,,,,,,,,,+++++++++++++++++++++++'@$$$$$-$$$'***$$@''***',,,,,,,,,,,,,,,,,+++++++++++++++++++++++'@$$$$$$$$$'***''''****',,,,,,,,,,,,,,,,,++########++++++++#####'@$$$$$$$$$'***********',,,,,,,,,,,,,,,,,######################''@$$$$$$-$'*************',,,,,,,,,,,,,,,,###################'''''@$-$$$$$$'***.'****.'**',,,,,,,,,,,,,,,,##========########'****'@$$$$$$$$'***''**'*''**',,,,,,,,,,,,,,,,==================='''='@@$$$-$$$'*%%********%%',,,,,,,,,,,,,,,,==;;;;;;;;========;;;;;'@@@$$$$$$$'***''''''**',,,,,,,,,,,,,,,,,;;;;;;;;;;;;;;;;;;;;;;;''@@@@@@@@@@'*********',,,,,,,,,,,,,,,,,,;;;;;;;;;;;;;;;;;;;;;;;'*'''''''''''''''''''',,,,,,,,,,,,,,,,,,,;;,,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,,,,,,,,>>>>>>>''''''''''''''',,,,,,,,,,,,,,,,,,,,,,,,>>>>>>>>>>>>>>>>>>>>>>>>'@@@@@@@@@@@@@@@',,,,,,,,,,,,,,,,,,,,,,,>>&&&&&&&&>>>>>>>>&&&&&'@@@$$$$$$$$$$$@@@',,,,,,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@@$$$$$-$$-$$$$@@',,,,,,,,,,,,,,,,,,,,,,&&&&&&&&&&&&&&&&&&&&&&&'@$$-$$$$$$$''-$$@',,'',,,,,,,,,,,,,,,,,,&&++++++++&&&&&&&&+++++'@$$$$$$$$$'**'$$@','**',,,,,,,,,,,,,,,,,+++++++++++++++++++++++'@$$$$$-$$$'***$$@''***',,,,,,,,,,,,,,,,,+++++++++++++++++++++++'@$$$$$$$$$'***''''****',,,,,,,,,,,,,,,,,++########++++++++#####'@$$$$$$$$$'***********',,,,,,,,,,,,,,,,,#####################'''@$$$$$$-$'*************',,,,,,,,,,,,,,,,###################''**'@$-$$$$$$'***.'****.'**',,,,,,,,,,,,,,,,##========########=****'@$$$$$$$$'***''**'*''**',,,,,,,,,,,,,,,,=================='*'=='@@$$$-$$$'*%%********%%',,,,,,,,,,,,,,,,==;;;;;;;;========;';;;'@@@$$$$$$$'***''''''**',,,,,,,,,,,,,,,,,;;;;;;;;;;;;;;;;;;;;;;;''@@@@@@@@@@'*********',,,,,,,,,,,,,,,,,,;;;;;;;;;;;;;;;;;;;;;;'**'''''''''''''''''''',,,,,,,,,,,,,,,,,,,;;,,,,,,,,;;;;;;;;,,,,'**','*',,..,.**','**',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,''',,,'',,,,.,''',,''',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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&&&&&&&&&&&&&&&&&&&&&'@$$-$$$$$$''$-$$@','',,,,,,,,,,,,,,,,,,,++&&&&&&&++++++++&&&&&&'@$$$$$$$$'**'$$$@''**',,,,,,,,,,,,,,,,,,+++++++++++++++++++++++'@$$$$$-$$'***$$$@'***',,,,,,,,,,,,,,,,,,++++++++++++++++++'''++'@$$$$$$$$'***''''****',,,,,,,,,,,,,,,,,,##+++++++########'**''''@$$$$$$$$'***********',,,,,,,,,,,,,,,,,,#################'****''@$$$$$$-'*************',,,,,,,,,,,,,,,,,##################''''*'@$-$$$$$'***.'****.'**',,,,,,,,,,,,,,,,,==#######========####'''@$$$$$$$'***''**'*''**',,,,,,,,,,,,,,,,,======================='@@$$$-$$'*%%********%%',,,,,,,,,,,,,,,,,;;=======;;;;;;;;=====''@@@$$$$$$'***''''''**',,,,,,,,,,,,,,,,,,;;;;;;;;;;;;;;;;;;;;;''''@@@@@@@@@'*********',,,,,,,,,,,,,,,,,,,;;;;;;;;;;;;;;;;;;;;'***'''''''''''''''''''',,,,,,,,,,,,,,,,,,,,,,;;;;;;;,,,,,,,,;;;'**'.'**..,,,,'**''**',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,''',,,'',,,,,,,''',''',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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,,,###################****'@$$$$$$-'***.'****.'**',,,,,,,,,,,,,,,,,###################''**'@$-$$$$$'***''**'*''**',,,,,,,,,,,,,,,,,==#######========####'''@$$$$$$$'*%%********%%',,,,,,,,,,,,,,,,,======================='@@$$$-$$$'***''''''**',,,,,,,,,,,,,,,,,,;;=======;;;;;;;;=.===''@@@$$$$$$$'*********',,,,,,,,,,,,,,,,,,,;;;;;;;;;;;;;;;;;;;;.'*''@@@@@@@@@@''''''''',,,,,,,,,,,,,,,,,,,,;;;;;;;;;;;;;;;;;;;;'***''''''''''''''''*',,,,,,,,,,,,,,,,,,,,,,,,;;;;;;;,,,,,,,.;;;'**','**,,,,,,'**''**',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,''',,''',,,,,,''',,''',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"
# this is how to map characters to colors
let map = [[symbol color description];
[',' '48;5;17m' Blue_background]
[. '48;5;231m' White_stars]
['\' '48;5;16m' Black_border]
['@' '48;5;230m' Tan_poptart]
['$' '48;5;175m' Pink_poptart]
['-' '48;5;162m' Red_poptart]
['>' '48;5;196m' Red_rainbow]
['&' '48;5;214m' Orange_rainbow]
['+' '48;5;226m' Yellow_Rainbow]
['#' '48;5;118m' Green_rainbow]
['=' '48;5;33m' Light_blue_rainbow]
[';' '48;5;19m' Dark_blue_rainbow]
['*' '48;5;240m' Gray_cat_face]
['%' '48;5;175m' Pink_cheeks]
["'" '48;5;175m' single_quote]
]
# setup the frames and order we want to draw them
let frames = [
$frame0
$frame1
$frame2
$frame3
$frame4
$frame5
$frame6
$frame7
$frame8
$frame9
$frame10
$frame11
]
# let's animate
# make sure you have your font small like 10 or 12 pt and screen maximized.
# you may need to play with the font size to get it working right
# it's a little slow - maybe 1 fps but still firmly in the 'fun' category
print (ansi cursor_off)
for frame in $frames {
let frame = (echo $frame | split chars | enumerate | each {|char| if $char.index mod 64 == 0 { $"(ansi -e '0m')(char nl)" } else {$"(ansi -e ($map | where symbol == $char.item | get color | get 0))(char sp)"}} | append (ansi -e '0m') | str join)
clear
print $frame
}
print (ansi cursor_on)

127
modules/fun/star.nu Normal file
View file

@ -0,0 +1,127 @@
# i found this script on a github issue and wanted to see what nushell would do.
# https://github.com/microsoft/terminal/issues/11794
#########################################################
# here's the python version from that issue
#########################################################
# import math
# import os
# import sys
# size = os.popen('stty size', 'r').read().split()
# h,w = tuple(int(n) for n in size)
# mx = w//2
# my = h//2
# def frame(i):
# s = '\033[H'
# for y in range(h):
# for x in range(w):
# dy,dx = y-my,x-mx
# a = math.atan2(dy*2,dx) + math.pi
# c = (int(a/math.pi*127)+i)%256
# s += '\033[38;2;%d;%d;%dm*' % (c,c,c)
# return s
# sys.stdout.write('Generating content...\n')
# s = '\033[?25l'
# for i in range(512):
# s += frame(i)
# s += '\033[?25h\033[m\033[H'
# sys.stdout.write('Starting animation...\n')
# sys.stdout.write(s)
#########################################################
# here's the c version from that issue
#########################################################
# #include <windows.h>
# #include <string>
# #include <cmath>
# void main()
# {
# HANDLE handle = GetStdHandle(STD_OUTPUT_HANDLE);
# DWORD mode;
# GetConsoleMode(handle, &mode);
# mode |= ENABLE_VIRTUAL_TERMINAL_PROCESSING;
# SetConsoleMode(handle, mode);
# CONSOLE_SCREEN_BUFFER_INFOEX csbie;
# csbie.cbSize = sizeof(csbie);
# GetConsoleScreenBufferInfoEx(handle, &csbie);
# const auto w = csbie.dwSize.X;
# const auto h = csbie.srWindow.Bottom - csbie.srWindow.Top + 1;
# const auto mx = w/2;
# const auto my = h/2;
# const auto pi = 3.14159265358979323846;
# printf("Generating content...\n");
# std::string s = "\033[?25l";
# for (auto i = 0; i < 512; i++) {
# s += "\033[H";
# for (auto y = 0; y < h; y++) {
# for (auto x = 0; x < w; x++) {
# auto dy = y-my;
# auto dx = x-mx;
# auto a = std::atan2(dy*2,dx) + pi;
# auto c = std::to_string((int(a/pi*127)+i)%256);
# s += "\033[38;2;"+c+";"+c+";"+c+"m*";
# }
# }
# }
# s += "\033[?25h\033[m\033[H";
# printf("Starting animation...\n");
# DWORD written = 0;
# WriteConsoleA(handle, s.c_str(), s.length(), &written, NULL);
# }
use std math
def atan2 [y x] {
if $x > 0 {
$y / $x | math arctan
} else if $x < 0 {
if $y >= 0 {
$math.PI + ($y / $x | math arctan)
} else {
-1 * $math.PI + ($y / $x | math arctan)
}
} else {
if $y >= 0 {
$math.PI / 2
} else {
-1 * $math.PI / 2
}
}
}
let w = 50
let h = 20
# if it's fast for your, change w, h to the below lines
# let w = (term size).columns - 2
# let h = (term size).rows - 2
let mx = ($w / 2 | math floor)
let my = ($h / 2 | math floor)
print (ansi -e "?25l")
for i in 0..512 {
let rows = (0..($h) | each {|y|
let cols = (0..($w) | each {|x|
let dy = ($y - $my)
let dx = ($x - $mx)
let a = (atan2 ($dy * 2) $dx) + $math.PI
let c = ((($a / ($math.PI) * 127) + ($i)) mod 256 | math round)
$"(ansi -e '38;2;')($c);($c);($c)m*"
})
$cols | str join
})
print ((ansi -e 'H') + ($rows | str join (char nl)))
}
print $"(ansi -e '?25h')(ansi -e 'm')(ansi -e 'H')"