File: morse-code.help.tcl

package info (click to toggle)
din 5.2.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,200 kB
  • sloc: cpp: 9,369; sh: 6,563; ansic: 2,977; tcl: 1,770; makefile: 283
file content (24 lines) | stat: -rw-r--r-- 996 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
set morse-code(name) morse-code
set morse-code(short) mc
set morse-code(purpose) {
  convert text to a bezier curve pattern that can be pasted in any curve
  editor.

  generates the pattern using seed bezier curve patterns of morse code
  primitives: dot, dash, inner letter spacing, letter
  spacing and word spacing}
set morse-code(invoke) {morse-code OR mc <text> [nbeats]}
set morse-code(help) {

  text can contain letters & numbers only.

  if nbeats is available the generated bezier curve pattern is quantised
  to nbeats.  if nbeats is not available, the generated bezier curve
  pattern is quantised to 1 beat.

  the generated bezier curve pattern is placed into the copy curve.
  paste into any curve in any curve editor (press LCTRL + v).}
set morse-code(examples) {
  morse-code sos ;# generate bezier curve pattern and place in copy curve
  morse-code sos 3 ;# generate bezier curve pattern quantised to 3 beats
  morse-code {a long piece of text} ;# just a longer piece of text}