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