Origin
The square comes from the greenhouse. A greenhouse wall is a grid of glass panes, and every tomato grows behind one of them. Take one pane and you have the container; put the fruit inside and you have the mark.
The square also stands for something bigger: Tomato Laboratories itself, a made-up lab where things are produced. The square is the production line and the circle is what comes off it. Most days that is a tomato, but the same lab turns out seeds, posters, packaging, products and case studies, and each of those can go in the square too.
Anatomy
The pattern is the logo’s own geometry. Use these proportions whenever you draw the square, at any size.
- The container. A square, always square, drawn as a single ruled line. Never rounded, never stretched into a rectangle.
- The tomato. A circle, or whatever the lab made this time. It sits in the middle and touches nothing.
- The stroke. One thirty-second of the side. A 256px square has an 8px line.
- The gap. One stroke between the container and the tomato, all the way round.
In 3D
The container can also be a cube, drawn as its edges only: twelve black lines and nothing else. The tomato becomes a sphere that floats in the middle and touches no edge. Drag it to turn it.
Seen head-on, the cube is the square and the sphere is the circle: the 2D pattern is the 3D container looked at straight on. Press Flat to see it.
What goes inside
The pattern is the act of putting something in the square. The tomato is the first and most common thing, but the container holds whatever Tomato Lab makes: a product, an object, a print, a case study. One thing per square.
Silkscreen is the ideal: flat inks inside a black square, allowed to break out over the edge. That is a preference, not a rule. Photorealistic images and 3D objects can go inside too. The examples below are labelled by how the inside is styled. The 3D object renders are still to come.
In use
Repeated
Put containers side by side and they share their walls, like panes in a greenhouse. Use the repeat for indexes and collections, such as a shop grid, a list of case studies, or a wall of seed varieties. Some panes can stay empty: the lab is between batches.
The line
Containers join, flat or in 3D, and the tomato moves through them like a product on a factory line. It goes in green, rests in each container while the lab works on it, and comes out ripe. Add or remove containers, drag to turn the line, or press Flat to see it as the 2D pattern.
Guidelines
Keep the container square (or a true cube) and its line one stroke thick. Center what goes inside, and let prints and art spill over the edge, as they do on the packet. Reach for screen print first; photos and 3D are welcome too.
Round the corners, stretch the container, fill it solid, shade the cube's faces, or crowd two different things into one container.
Building it
On this site the pattern is plain CSS, sized from the square’s own width so the stroke and gap stay in proportion. The classes are named for the shapes (sq, sq-circle), not the working names, so renaming the parts changes no code. The 3D container and the line are drawn on a canvas by assets/container.js: add data-container="one" or data-container="line" to a wrapper holding a <canvas>. data-container="build" is a line to grow: the last cube shows dotted outlines of the cubes that could come next on every open side, a click (or Enter) makes one solid and moves the outlines round the new end, the tomatoes keep flowing to it, and the whole thing eases smaller and back to the centre to make room (tomatoads.org’s splash uses it). With data-spill, tomatoes leaving the end are handed to the page as a tomato-spill event (position, size and speed) instead of fading, so a page can let them fall. For other colors, data-ink and data-fruit take token names: the edge color, and one tomato color in place of ripening (tomatoads.org draws its line all in Lab Coat on Tomato).
<figure class="sq-tile" style="--ground: var(--color-neutral-50); --ink: var(--color-tomato-500)">
<div class="sq"><span class="sq-circle"></span></div>
</figure>
"The tomato" and "the container" are working names. The container may get a better one.