Apparatus
These are Apas Cloud services: they run on our servers for a signed-in member. The examples below are shown already made; sign in to edit and run your own.
testTubeOn Apas Cloud
A test tube on the diagram: a round-bottomed tube of the width, its bottom and rim at the heights given, open at the rim, with a liquid up to the level (a level below the bottom leaves it empty). An angle tilts the tube about its bottom, anticlockwise in degrees, the liquid staying level. One group `test-tube` of plain shapes; the writer joins a pipe or a stopper to it by the same coordinates.
d (diagram) --
cx (number) -- the tube's centre line
width (number) -- its width
bottom (number) -- the height of the bottom
rim (number) -- the height of the rim
level (number) -- the liquid's height
liquid (text) -- the liquid's colour (default a pale blue)
angle (number) -- the tilt in degrees (default 0)
beakerOn Apas Cloud
A beaker on the diagram, from x0 to x1, its bottom and top at the heights given, a spout at each lip, with a liquid up to the level. Group `beaker`.
d (diagram) --
x0 (number) -- the left wall
x1 (number) -- the right wall
bottom (number) -- the height of the bottom
top (number) -- the height of the rim
level (number) -- the liquid's height
liquid (text) -- the liquid's colour (default a pale blue)
flaskOn Apas Cloud
A conical flask on the diagram, its base at the bottom height and its mouth at the top, the body to seven tenths of the height and the neck above, with a liquid up to the level. Group `flask`.
d (diagram) --
cx (number) -- the flask's centre line
bottom (number) -- the height of the base
top (number) -- the height of the mouth
level (number) -- the liquid's height
liquid (text) -- the liquid's colour (default a pale blue)
halfWidth (number) -- half the base's width (default 0.35 of the height)
neck (number) -- half the neck's width (default 0.09 of the height)
retortOn Apas Cloud
A retort on the diagram: a round bulb of the size given standing on the bottom height, its neck rising to the right and bending down, with a liquid in the bulb up to the level. Group `retort`.
d (diagram) --
cx (number) -- the bulb's centre line
bottom (number) -- the height of the bulb's bottom
size (number) -- the bulb's diameter
level (number) -- the liquid's height (default none)
liquid (text) -- the liquid's colour (default a pale blue)
watchGlassOn Apas Cloud
A watch glass on the diagram, seen from the side: a shallow dish of the width at the height given, with a small heap of the contents' colour when one is named. Group `watch-glass`.
d (diagram) --
cx (number) -- the dish's centre
y (number) -- the height of its lowest point
width (number) -- its width
contents (text) -- the colour of what lies in it
stopperOn Apas Cloud
A cork or rubber stopper on the diagram, narrow at y0 and wide at y1 (y1 below y0 for a stopper pushed in from below). Group `stopper`.
d (diagram) --
cx (number) -- the stopper's centre line
y0 (number) -- the height of its narrow end
y1 (number) -- the height of its wide end
width (number) -- half its wide end (default by its height)
pipeOn Apas Cloud
A glass delivery tube on the diagram through the points given, a bend at each, as a bar of the width (default 0.14) in pale glass. Group `pipe`.
d (diagram) --
points (point...) -- two or more points, the tube's path
width (number) -- the tube's width (default 0.14), after the points
burnerOn Apas Cloud
A Bunsen burner standing on the point, its flame lit, at the scale given (1 is a burner about 1.2 units tall before the flame). Group `burner`.
d (diagram) --
p (point) -- where the base stands
scale (number) -- the size (default 1)
flameOn Apas Cloud
A flame rising from the point, at the scale given (1 is a flame 0.7 units tall). Group `flame`.
d (diagram) --
p (point) -- the flame's base
scale (number) -- the size (default 1)
dropperOn Apas Cloud
A dropper on the diagram pointing down to the tip, its bulb above, and a drop below the tip unless `false` is given. Group `dropper`.
d (diagram) --
cx (number) -- the dropper's centre line
tip (number) -- the height of the tip
drop (boolean) -- whether a drop hangs from the tip (default true)
liquid (text) -- the drop's colour
clampStandOn Apas Cloud
A clamp stand on the diagram: a base at the point, a rod of the height, a boss and a clamp arm at the clamp height reaching to the right (a negative reach: to the left), its jaws open for a tube. Group `clamp-stand`.
d (diagram) --
x (number) -- the rod's foot
y (number) -- the height of the base
height (number) -- the rod's height (default 6)
clampY (number) -- the height of the clamp (default 0.6 of the rod)
reach (number) -- how far the arm reaches (default a quarter of the rod)