Compare commits
3 Commits
115b7289e7
...
12d6176f63
Author | SHA1 | Date | |
---|---|---|---|
12d6176f63 | |||
787dbd9091 | |||
67b2332e1c |
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,7 +1,12 @@
|
|||||||
|
# Python dev files
|
||||||
venv
|
venv
|
||||||
__pycache__
|
__pycache__
|
||||||
|
|
||||||
|
# Python build files
|
||||||
*.egg-info
|
*.egg-info
|
||||||
*.spec
|
*.spec
|
||||||
build
|
build
|
||||||
dist
|
dist
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
*.gif
|
@ -2,14 +2,15 @@
|
|||||||
|
|
||||||
If you're reading this on PyPi, go [here](https://git.betalupi.com/Mark/lamb).
|
If you're reading this on PyPi, go [here](https://git.betalupi.com/Mark/lamb).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### Method 1: PyPi [here](https://pypi.org/project/lamb-engine)
|
### Method 1: [PyPi](https://pypi.org/project/lamb-engine)
|
||||||
1. `pip install lamb-engine`
|
1. *(Optional but recommended)* make and enter a [venv](https://docs.python.org/3/library/venv.html).
|
||||||
2. `lamb`
|
2. `pip install lamb-engine`
|
||||||
|
3. `lamb`
|
||||||
|
|
||||||
### Method 2: Git
|
### Method 2: Git
|
||||||
1. Clone this repository.
|
1. Clone this repository.
|
||||||
|
91
misc/demo.tape
Normal file
91
misc/demo.tape
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
# How to use this:
|
||||||
|
# install vhs
|
||||||
|
# enter venv
|
||||||
|
# vhs < misc/demo.tape
|
||||||
|
#
|
||||||
|
# We need macros.lamb, so run this from
|
||||||
|
# the root of this repository.
|
||||||
|
|
||||||
|
|
||||||
|
#Output lambdemo.mp4
|
||||||
|
Output lambdemo.gif
|
||||||
|
|
||||||
|
Set FontSize 30
|
||||||
|
Set Width 2000
|
||||||
|
Set Height 1500
|
||||||
|
Set FontFamily "FantasqueSansMono NF"
|
||||||
|
Set TypingSpeed 60ms
|
||||||
|
Set Framerate 30
|
||||||
|
|
||||||
|
# Intro
|
||||||
|
Sleep 2000ms
|
||||||
|
Type "lamb"
|
||||||
|
Sleep 1000ms
|
||||||
|
Enter
|
||||||
|
Sleep 2000ms
|
||||||
|
|
||||||
|
# Demo 1: load
|
||||||
|
Type ":load macros.lamb"
|
||||||
|
Sleep 500ms
|
||||||
|
Enter
|
||||||
|
Sleep 2000ms
|
||||||
|
|
||||||
|
Type "NOT T"
|
||||||
|
Sleep 1000ms
|
||||||
|
Enter
|
||||||
|
Sleep 6s
|
||||||
|
|
||||||
|
Type ":clear"
|
||||||
|
Sleep 1000ms
|
||||||
|
Enter
|
||||||
|
Sleep 1500ms
|
||||||
|
|
||||||
|
|
||||||
|
# Demo 2: stepping
|
||||||
|
Type ":step"
|
||||||
|
Sleep 500ms
|
||||||
|
Enter
|
||||||
|
Sleep 1500ms
|
||||||
|
|
||||||
|
Type "NOT T"
|
||||||
|
Sleep 100ms
|
||||||
|
Enter
|
||||||
|
Sleep 1500ms
|
||||||
|
Enter
|
||||||
|
Sleep 760ms
|
||||||
|
Enter
|
||||||
|
Sleep 850ms
|
||||||
|
Enter
|
||||||
|
Sleep 650ms
|
||||||
|
Enter
|
||||||
|
Sleep 700ms
|
||||||
|
Enter
|
||||||
|
|
||||||
|
Sleep 3000ms
|
||||||
|
|
||||||
|
Type ":step"
|
||||||
|
Sleep 500ms
|
||||||
|
Enter
|
||||||
|
Sleep 6s
|
||||||
|
Type ":clear"
|
||||||
|
Sleep 1000ms
|
||||||
|
Enter
|
||||||
|
Sleep 1500ms
|
||||||
|
|
||||||
|
# Demo 3: macros
|
||||||
|
Type "M = \x.x x"
|
||||||
|
Sleep 500ms
|
||||||
|
Enter
|
||||||
|
Sleep 500ms
|
||||||
|
|
||||||
|
Type "M M"
|
||||||
|
Sleep 500ms
|
||||||
|
Enter
|
||||||
|
Sleep 3s
|
||||||
|
Ctrl+c
|
||||||
|
Sleep 1000ms
|
||||||
|
|
||||||
|
Type "Y FAC 3"
|
||||||
|
Sleep 500ms
|
||||||
|
Enter
|
||||||
|
Sleep 6s
|
Binary file not shown.
Before Width: | Height: | Size: 126 KiB |
Reference in New Issue
Block a user