Rename crt → osc throughout
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,3 +1,3 @@
|
|||||||
crt
|
/osc
|
||||||
nimcache/
|
nimcache/
|
||||||
demo.png/
|
demo.png/
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ Requires [Nim](https://nim-lang.org/) 2.x.
|
|||||||
git clone https://github.com/rolandnsharp/terminal-oscilloscope.git
|
git clone https://github.com/rolandnsharp/terminal-oscilloscope.git
|
||||||
cd terminal-oscilloscope
|
cd terminal-oscilloscope
|
||||||
nimble build
|
nimble build
|
||||||
./crt
|
./osc
|
||||||
```
|
```
|
||||||
|
|
||||||
## Controls
|
## Controls
|
||||||
|
|||||||
31
demo.tape
31
demo.tape
@@ -1,5 +1,4 @@
|
|||||||
Output demo.gif
|
Output demo.gif
|
||||||
Output demo.png
|
|
||||||
|
|
||||||
Set Shell "bash"
|
Set Shell "bash"
|
||||||
Set FontSize 14
|
Set FontSize 14
|
||||||
@@ -9,8 +8,30 @@ Set Theme "Dracula"
|
|||||||
|
|
||||||
Type "./crt"
|
Type "./crt"
|
||||||
Enter
|
Enter
|
||||||
Sleep 4s
|
Sleep 2s
|
||||||
Type "m"
|
Type "g"
|
||||||
Sleep 2.5s
|
Sleep 0.3s
|
||||||
|
Type "g"
|
||||||
|
Sleep 2s
|
||||||
|
Type "+"
|
||||||
|
Sleep 0.4s
|
||||||
|
Type "+"
|
||||||
|
Sleep 0.4s
|
||||||
|
Type "+"
|
||||||
|
Sleep 0.4s
|
||||||
|
Type "+"
|
||||||
|
Sleep 0.4s
|
||||||
|
Type "+"
|
||||||
|
Sleep 1s
|
||||||
|
Type "]"
|
||||||
|
Sleep 0.4s
|
||||||
|
Type "]"
|
||||||
|
Sleep 0.4s
|
||||||
|
Type "]"
|
||||||
|
Sleep 0.4s
|
||||||
|
Type "]"
|
||||||
|
Sleep 0.4s
|
||||||
|
Type "]"
|
||||||
|
Sleep 3s
|
||||||
Type "q"
|
Type "q"
|
||||||
Sleep 2.5s
|
Sleep 2s
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
author = "rolandnsharp"
|
author = "rolandnsharp"
|
||||||
description = "CRT TV turn on/off effects in the terminal"
|
description = "Terminal oscilloscope with CRT phosphor physics"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
srcDir = "src"
|
srcDir = "src"
|
||||||
bin = @["crt"]
|
bin = @["osc"]
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
## - Live audio capture via ffmpeg/PulseAudio or demo signal
|
## - Live audio capture via ffmpeg/PulseAudio or demo signal
|
||||||
|
|
||||||
import illwill, os
|
import illwill, os
|
||||||
import crt/[effects, phosphor, scope, audio]
|
import osc/[effects, phosphor, scope, audio]
|
||||||
|
|
||||||
proc exitProc() {.noconv.} =
|
proc exitProc() {.noconv.} =
|
||||||
illwillDeinit()
|
illwillDeinit()
|
||||||
Reference in New Issue
Block a user