NAME
Pyon manual — one page for each function of Pyon: the app, Install and Update, the welcome page, Kirakira Hop · Cubes, the manga, PyonKernel, and the code that made Mochi and Onigiri 3D (VRM), in Python and in the Wolfram Language. 245 pages.
SYNOPSIS
$ man -k pyon
pyon(3pyon) — the Pyon app (index.html)
| $(3pyon) | — find one element of the page by a CSS selector |
| actor(3pyon) | — make one of the two creatures on the stage |
| movers(3pyon) | — the creatures that act for a who |
| soundsOn(3pyon) | — whether the grown-ups' corner has Sounds switched on |
| wake(3pyon) | — start the sound engine on the first touch |
| tone(3pyon) | — play one small synthesised sound |
| VOICE(3pyon) | — the creatures' little voices |
| lang(3pyon) | — the language chosen in the grown-ups' corner |
| speak(3pyon) | — say a word aloud with the device's own voice |
| sleep(3pyon) | — wait for a while |
| anim(3pyon) | — animate an element, so that ■ can stop it |
| scale(3pyon) | — how big the creatures' movements are |
| ty(3pyon) | — a vertical move for an animation frame |
| say(3pyon) | — show a few words in a creature's speech bubble |
| ACT(3pyon) | — what each trick key does on the stage |
| rest(3pyon) | — bring a creature back to rest |
| home(3pyon) | — the home squares of the two creatures |
| layout(3pyon) | — fit the square to the stage and put the creatures in place |
| centre(3pyon) | — the centre of a square, in pixels on the stage |
| place(3pyon) | — stand a creature on a square |
| paw(3pyon) | — leave a paw print on a square |
| clearPaws(3pyon) | — wipe every paw print off the square |
| lampValue(3pyon) | — what a lamp reads where the creatures stand |
| boardFromStrip(3pyon) | — make the square follow the strip |
| walk(3pyon) | — move a creature one square, or squish it at a wall |
| setSpace(3pyon) | — show or hide the square |
| goHome(3pyon) | — walk both creatures home before a story plays |
| times(3pyon) | — multiply a line's numbers |
| numId(3pyon) | — the key that shows a number |
| tileCount(3pyon) | — how many tiles a line holds, not counting who |
| whoOf(3pyon) | — who acts in a line |
| hasArrows(3pyon) | — whether any line holds an arrow |
| artOf(3pyon) | — the picture of a key for whoever acts |
| tile(3pyon) | — make one tile of the strip |
| keyArt(3pyon) | — make the keypad show who acts in the current line |
| draw(3pyon) | — draw the strip |
| actTile(3pyon) | — the tile of one move in the strip |
| lineCodes(3pyon) | — a line as Pyon's code points |
| storyText(3pyon) | — the whole strip as Pyon text, as sent to the CCN Cloud |
| showText(3pyon) | — show the story's text in the grown-ups' corner |
| full(3pyon) | — shake the strip: there is no room, or nothing to do |
| b64(3pyon) | — encode text as UTF-8 in base 64 |
| inCloud(3pyon) | — whether the CCN Cloud reads the story |
| readInCloud(3pyon) | — ask PyonKernel to read a story |
| readLine(3pyon) | — read one line of Pyon text |
| readInPage(3pyon) | — read a story in the page, by PyonKernel's rules |
| read(3pyon) | — read a story, in the CCN Cloud or in the page |
| dizzy(3pyon) | — show that again reached its ceiling |
| playResult(3pyon) | — play every step of a reading |
| stepsWithLamps(3pyon) | — the steps, with an empty step for each line that did not happen |
| cheer(3pyon) | — Onigiri cheers at the end of a story |
| then(3pyon) | — queue a job, at most two waiting |
| stopAll(3pyon) | — stop everything at once |
| setPlaying(3pyon) | — show ▶ or ■ |
| press(3pyon) | — what a tap on a key does |
| showPad(3pyon) | — show one keypad |
| keyButton(3pyon) | — make one key of the keypad |
| sentLines(3pyon) | — the lines that ▶ sends |
| onPlay(3pyon) | — ▶: read the story and play it; ■: stop |
| onUndo(3pyon) | — ↺: take back the last thing done |
| onLineTap(3pyon) | — a tap on the strip |
| onGearHold(3pyon) | — ⚙: open the grown-ups' corner when held |
| onRunPhrases(3pyon) | — the corner's phrases: read typed Pyon text and play it |
| kernel(3pyon) | — call PyonKernel with any mode |
| linesFromText(3pyon) | — Pyon text back into the strip |
| firstTile(3pyon) | — the first move of a program, for its slot's picture |
| spaceKeys(3pyon) | — the program-space keypad: nine slots and two tools |
| noSpace(3pyon) | — say that no program space is open |
| openSpace(3pyon) | — open a program space by its code |
| slotPressed(3pyon) | — a tap on a slot: load, put away or clear |
| legend(3pyon) | — fill the legend: every key and every control |
| storyLink(3pyon) | — a story in the link: #story=… |
| showRelease(3pyon) | — show Install and Update as they now stand |
release(3release) — Install and Update, shared by every page
| PyonRelease(3release) | — Install and Update, shared by every Pyon page |
| buildDate(3release) | — a build stamp as a date in words |
| versionLine(3release) | — the release, the build and its date, in one line |
| say(3release) | — a small notice at the top of the page |
| installed(3release) | — whether the page runs as the installed app |
| installHelp(3release) | — the steps to install on this device |
| install(3release) | — Install: add Pyon to the device |
| installLabel(3release) | — the label of the Install button |
| reinstall(3release) | — Update: reinstall the app inside itself |
| check(3release) | — look for a new release |
| updateLabel(3release) | — the label of the Update button |
| hasNewer(3release) | — whether a new release is ready |
| start(3release) | — start Install and Update on a page |
welcome(3welcome) — the welcome page (welcome.html)
| $(3welcome) | — find one element of the welcome page by a CSS selector |
| showRelease(3welcome) | — show Install and Update on the welcome page |
cubes(3cubes) — Kirakira Hop · Cubes (cubes.html)
| $(3cubes) | — find one element of the game by its id |
| kid(3cubes) | — the picture of a key for whoever plays |
| store(3cubes) | — keep the player's progress on the device |
| P(3cubes) | — a point of the lattice, on the screen |
| pts(3cubes) | — points as an SVG points attribute |
| el(3cubes) | — make an SVG element |
| draw(3cubes) | — draw the level, cube by cube |
| placeHero(3cubes) | — put the creature at a point of the lattice |
| drawGloom(3cubes) | — show the rows the Gloom has eaten |
| keyCount(3cubes) | — how many keys the program has |
| showProg(3cubes) | — draw the lines of the program |
| times(3cubes) | — how many times a line is done |
| add(3cubes) | — put a key at the end of the line being written |
| keypad(3cubes) | — draw the six keys |
| newLine(3cubes) | — ↵ New line: start a line under the current one |
| backKey(3cubes) | — ⌫ Back: take back the last key |
| clearLines(3cubes) | — 🗑 Clear: start the program again |
| wait(3cubes) | — wait for a while |
| ease(3cubes) | — ease in and out |
| tween(3cubes) | — move the creature from one point to another, hopping |
| say(3cubes) | — show a line in the speech box over the scene |
| heartsShow(3cubes) | — show the hearts left |
| run(3cubes) | — ▶ Go!: play the program |
| stopRun(3cubes) | — ■ Stop: stop the program after the move under way |
| reset(3cubes) | — draw the level afresh, with the creature at the start |
| load(3cubes) | — open a level |
| card(3cubes) | — show a card over the game |
| closeCard(3cubes) | — take the card away |
| win(3cubes) | — home: count the stars |
| menu(3cubes) | — the levels card: who plays, and which level |
| showRelease(3cubes) | — show Install and Update in the game |
manga(3manga) — the manga (manga.html)
| st(3manga) | — a position, carried in a data-s attribute |
| P(3manga) | — a panel |
| G(3manga) | — a page's grid of panels |
| grow(3manga) | — size a bubble for its words |
| B(3manga) | — a speech bubble |
| SH(3manga) | — a shout: a spiky bubble |
| TH(3manga) | — a thought: a cloud with a trail of little bubbles |
| N(3manga) | — a caption box |
| L(3manga) | — a lesson box, marked まとめ |
| X(3manga) | — a sound effect in kana, with its meaning beneath |
| C(3manga) | — Mochi, Onigiri or both, in a pose |
| K(3manga) | — one Pyon key picture |
| CODE(3manga) | — a box of real Pyon code, in colour |
| BK(3manga) | — one large key, as a picture on the page |
| KIRA(3manga) | — a sparkle |
| foot(3manga) | — a page's footer: the copyright line and the page number |
| PAGE(3manga) | — one page of the book |
| SQ(3manga) | — the square of six by six, drawn |
| CUBES(3manga) | — islands of cubes, drawn as in Kirakira Hop · Cubes |
| letter(3manga) | — place every bubble, caption and sound in its panel |
| row(3manga) | — one row of the cheat sheet: a key and what it does |
| hideFar(3manga) | — hide the pages far from the open one |
| show(3manga) | — open a page |
| turnByTap(3manga) | — a tap turns the page: the left half is next |
| turnBySwipe(3manga) | — a swipe to the right turns to the next page |
| turnByKey(3manga) | — the keyboard turns the pages |
| fit(3manga) | — scale the book to the screen |
| showRelease(3manga) | — show Install and Update under the book |
kernel(3kernel) — PyonKernel in the CCN Cloud (Wolfram Language)
| PyonKernel(3kernel) | — Pyon's reader in the CCN Cloud |
| pyonAccountOf(3kernel) | — where PyonKernel would be deployed |
| pyonWrongAccount(3kernel) | — the refusal to deploy outside the account ccn |
| latinQ(3kernel) | — whether a text begins with a Latin letter |
| readLine(3kernel) | — read one line of Pyon text |
| square(3kernel) | — a square given as "x,y", kept on the grid |
| place(3kernel) | — where one arrow takes a creature |
| lampValue(3kernel) | — what a lamp reads where the creatures stand |
| pyonRead(3kernel) | — read a whole text: lines, steps and notes |
| clean(3kernel) | — tidy a key read from a key object |
| keyOf(3kernel) | — read a key object, whatever it holds |
| origin(3kernel) | — the page that called |
vrm(3vrm) — Mochi and Onigiri as VRM 1.0 avatars (tools/make-vrm.py, Python)
| lin(3vrm) | — a drawn colour, in the linear light glTF expects |
| darker(3vrm) | — a colour made darker |
| rot_to(3vrm) | — a rotation that points local +Z along a direction |
| sphere(3vrm) | — a unit sphere as a grid of triangles |
| ellipsoid(3vrm) | — a sphere stretched, turned and moved |
| tube(3vrm) | — a tube along a path, with round ends |
| lathe(3vrm) | — a body of revolution, as a potter turns it |
| smooth(3vrm) | — a smooth curve through a few points |
| Part(3vrm) | — one piece of a creature |
| on_surface(3vrm) | — a point on the front of Mochi's body, and its normal |
| squash(3vrm) | — scale and lift a part's vertices: the tool of every expression |
| skeleton(3vrm) | — the bones: 19 humanoid, and the tail's and ears' own |
| y_weights(3vrm) | — the body's skin, by height |
| mochi(3vrm) | — Mochi, part by part |
| onigiri(3vrm) | — Onigiri, part by part |
| targets_for_face(3vrm) | — the face's seven morph targets |
| GLB(3vrm) | — a binary glTF 2.0 file being built |
| view(3vrm) | — append bytes and a bufferView |
| acc(3vrm) | — append an array and its accessor |
| image(3vrm) | — embed a PNG |
| write(3vrm) | — write the .glb (.vrm) file |
| mtoon(3vrm) | — a toon (MToon) material |
| add_materials(3vrm) | — one toon material per colour of the creature |
| add_skeleton(3vrm) | — the nodes, the bones and the skin |
| add_meshes(3vrm) | — the Body and Face meshes, skinned, the face with its expressions |
| expressions(3vrm) | — VRM's 13 preset expressions, as mixtures of the morph targets |
| vrm_meta(3vrm) | — the name, the authors, the copyright and the licence |
| springs(3vrm) | — the spring bones: ears and tail that sway |
| build(3vrm) | — the whole avatar |
| main(3vrm) | — build mochi.vrm and onigiri.vrm |
vrmfig(3vrmfig) — the pictures of the VRM write-up (tools/vrm-figures.py, Python)
| VIEWER(3vrmfig) | — the viewer page that draws a .vrm with the real VRM loader |
| setup(3vrmfig) | — the work folder, three.js and three-vrm, and the viewer |
| serve(3vrmfig) | — serve the work folder on localhost |
| stage(3vrmfig) | — a .vrm of one stage of a creature |
| single(3vrmfig) | — a .vrm holding one shape alone |
| shoot(3vrmfig) | — photograph each view in headless Chrome |
| font(3vrmfig) | — the font of the sheets |
| sheet(3vrmfig) | — pictures side by side, with captions, a title and the copyright line |
| glb_diagram(3vrmfig) | — a picture of a .glb file's layout, with its real sizes |
| main(3vrmfig) | — every stage, every view, every sheet |
vrmwl(3vrmwl) — Mochi and Onigiri as VRM 1.0 avatars, in the Wolfram Language (tools/ff_makevrm.nb)
| vrmLin(3vrmwl) | — a drawn colour, in the linear light glTF expects |
| vrmDarker(3vrmwl) | — a colour made darker |
| vrmLinspace(3vrmwl) | — n evenly spaced numbers from a to b, as NumPy's linspace |
| vrmRotTo(3vrmwl) | — a rotation that points local +Z along a direction |
| vrmSphere(3vrmwl) | — a unit sphere as a grid of triangles |
| vrmEllipsoid(3vrmwl) | — a sphere stretched, turned and moved |
| vrmTube(3vrmwl) | — a tube along a path, with round ends |
| vrmLathe(3vrmwl) | — a body of revolution, as a potter turns it |
| vrmSmooth(3vrmwl) | — a smooth curve through a few points |
| vrmVertexNormals(3vrmwl) | — each vertex's normal, from the triangles round it |
| vrmPart(3vrmwl) | — one piece of a creature, as an Association |
| vrmOnSurface(3vrmwl) | — a point on the front of Mochi's body, and its normal |
| vrmSquash(3vrmwl) | — scale and lift vertices: the tool of every expression |
| vrmSkeleton(3vrmwl) | — the bones: 19 humanoid, and the tail's and ears' own |
| vrmYWeights(3vrmwl) | — a body's skin, by height |
| vrmTailWeights(3vrmwl) | — Mochi's tail's skin, by height |
| vrmMochi(3vrmwl) | — Mochi, part by part |
| vrmOnigiriShape(3vrmwl) | — the unit sphere pressed into a rice ball |
| vrmFront(3vrmwl) | — the body's vertex nearest a point of the drawing, among those facing the front |
| vrmOnigiri(3vrmwl) | — Onigiri, part by part |
| vrmFaceTargets(3vrmwl) | — the face's seven morph targets |
| vrmWithMorphs(3vrmwl) | — put the morph targets into the parts |
| vrmCamera(3vrmwl) | — the camera, lights and paper of every picture |
| vrmMesh(3vrmwl) | — a part as a GraphicsComplex |
| vrmDraw(3vrmwl) | — draw parts in their colours |
| vrmDrawSkeleton(3vrmwl) | — the bones over a see-through body |
| vrmDrawWeights(3vrmwl) | — each vertex coloured by its bones, mixed by their weights |
| vrmMorphed(3vrmwl) | — the parts with expression weights applied |
| vrmSheet(3vrmwl) | — pictures side by side, with captions, a title and the copyright line |
| vrmDrawShape(3vrmwl) | — one building block, with its edges |
| vrmByName(3vrmwl) | — the parts whose names begin with the given words |
| vrmNewGLB(3vrmwl) | — a new, empty binary glTF file |
| vrmBufferView(3vrmwl) | — append bytes and a bufferView |
| vrmAccessor(3vrmwl) | — append an array and its accessor |
| vrmImage(3vrmwl) | — embed the thumbnail |
| vrmWrite(3vrmwl) | — write the .vrm file |
| vrmMToon(3vrmwl) | — a toon (MToon) material |
| vrmAddMaterials(3vrmwl) | — one toon material per colour of the creature |
| vrmAddSkeleton(3vrmwl) | — the nodes, the bones and the skin |
| vrmTopFour(3vrmwl) | — a vertex's four strongest bones, weights summing to 1 |
| vrmAddMeshes(3vrmwl) | — the Body and Face meshes, skinned, the face with its expressions |
| vrmExpressions(3vrmwl) | — VRM's 13 preset expressions, as mixtures of the morph targets |
| vrmMeta(3vrmwl) | — the name, the authors, the copyright and the licence |
| vrmSprings(3vrmwl) | — the spring bones: ears and tail that sway |
| vrmBuild(3vrmwl) | — the whole avatar |
| vrmMain(3vrmwl) | — write art/vrm/wolfram/mochi.vrm and onigiri.vrm |
SEE ALSO
The library · the whole manual as one PDF · One language, many worlds · How Mochi and Onigiri became 3D · … in the Wolfram Language
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
