Updating the entire documentation

This commit is contained in:
2023-09-17 00:47:50 +02:00
parent d9f98bad74
commit cde3b6eb89
14 changed files with 287 additions and 307 deletions

View File

@ -35,8 +35,8 @@ Every Topos session is composed of several small scripts. A set of scripts is ca
${makeExample(
"To take the most out of Topos...",
`// Write your code in multiple scripts. Use all the code buffers!
mod(1) :: script(1)
div(4) :: mod(.5) :: script(2)
beat(1) :: script(1)
flip(4) :: beat(.5) :: script(2)
`,
true
)}
@ -44,8 +44,8 @@ div(4) :: mod(.5) :: script(2)
${makeExample(
"Script execution can become musical too!",
`// You can play your scripts... algorithmically.
mod(1) :: script([1,3,5].pick())
div(4) :: mod([.5, .25].div(16)) :: script([5,6,7,8].loop($(2)))
beat(1) :: script([1,3,5].pick())
flip(4) :: beat([.5, .25].beat(16)) :: script([5,6,7,8].loop($(2)))
`,
false
)}