When using the fluxus scratchpad, the idea is that you only need the one window to build scripts, or play live. F5 (or ctrl-e) is the key that runs the script when you are ready. Selecting some text (using shift) and pressing F5 will execute the selected text only. This is handy for re-evaluating functions without running the whole script each time.
The camera is controlled by moving the mouse and pressing mouse buttons.
The script editor allows you to edit 9 scripts simultaneously by using workspaces. To switch workspaces, use Ctrl+Number key. Only one can be run at once though, hitting F5 will execute the currently active workspace script. Scripts in different workspaces can be saved to different files, press Ctrl+S to save or Ctrl+D to Save-As and enter a new filename (the default filename is temp.scm).
If you press Ctrl and 0, instead of getting another script workspace, you will be presented with a read evaluate print loop interpreter, or repl for short. This is really just an interactive interpreter similar to the command-line, where you can enter scheme code for immediate evaluation. This code is evaluated in the same interpreter as the other scripts, so you can use the repl script to debug or inspect global variables and functions they define. This window is also where error reporting is printed, along with the terminal window you started Fluxus from.
One of the important uses of the repl script is to get help on Fluxus commands. For instance, in order to find out about the build-cube command, try typing:
You can find out about new commands by typing
Which will print out a list of subsections, so to find out about maths commands you can try:
Will give you a list of all the maths commands available, which you can ask for further help about. You can copy the example code by moving the cursor left and then up, shift select the code, press Ctrl-C to copy it. Then you can switch to a workspace and paste the example in with Ctrl-V order to try running them.
Ctrl-F : Full screen mode.
Ctrl-W : Windowed mode.
Ctrl-H: Hide/show the editor.
Ctrl-l : Load a new script (navigate with cursors and return).
Ctrl-S : Save current script.
Ctrl-D : Save as current script (opens a filename dialogue).
Ctrl-Q : Clear the editor window.
Ctrl-B: Blow up cursor.
Ctrl-1 to 9 : Switch to selected workspace.
Ctrl-0 : Switch to the REPL.
Ctrl-P : Auto format the white space in your scheme script to be more pretty and readable
F3 : Resets the camera.
F4 : Execute the current highlighted s-expression
F5/Ctrl-E : Execute the selected text, or all if none is selected.
F6 : Reset interpreter, and execute text
F9 : Switch Scratch-Pad effects on/off
F10 : Make the text more transparent
F11 : Make the text less transparent
There has been error in communication with Booktype server. Not sure right now where is the problem.
You should refresh this page.