Here's a TikZ drawing of a red tractor in 3D:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{3d}
\begin{document}
\begin{tikzpicture}[x={(1cm,0cm)}, y={(0.3cm,0.5cm)}, z={(0cm,1cm)}]
% Define colors
\definecolor{tractorred}{RGB}{180,20,20}
\definecolor{darkred}{RGB}{120,15,15}
\definecolor{wheelgray}{RGB}{60,60,60}
\definecolor{rimsilver}{RGB}{180,180,180}
% Main body (engine compartment)
\fill[tractorred] (0,0,0) -- (3,0,0) -- (3,2,0) -- (0,2,0) -- cycle;
\fill[darkred] (3,0,0) -- (3,2,0) -- (3,2,1.5) -- (3,0,1.5) -- cycle;
\fill[tractorred] (0,2,0) -- (3,2,0) -- (3,2,1.5) -- (0,2,1.5) -- cycle;
\fill[tractorred] (0,0,0) -- (0,2,0) -- (0,2,1.5) -- (0,0,1.5) -- cycle;
\fill[tractorred] (0,0,1.5) -- (3,0,1.5) -- (3,2,1.5) -- (0,2,1.5) -- cycle;
% Cabin
\fill[tractorred] (1.5,0.5,1.5) -- (2.5,0.5,1.5) -- (2.5,1.5,1.5) -- (1.5,1.5,1.5) -- cycle;
\fill[darkred] (2.5,0.5,1.5) -- (2.5,1.5,1.5) -- (2.5,1.5,2.5) -- (2.5,0.5,2.5) -- cycle;
\fill[tractorred] (1.5,1.5,1.5) -- (2.5,1.5,1.5) -- (2.5,1.5,2.5) -- (1.5,1.5,2.5) -- cycle;
\fill[tractorred] (1.5,0.5,1.5) -- (1.5,1.5,1.5) -- (1.5,1.5,2.5) -- (1.5,0.5,2.5) -- cycle;
\fill[tractorred] (1.5,0.5,2.5) -- (2.5,0.5,2.5) -- (2.5,1.5,2.5) -- (1.5,1.5,2.5) -- cycle;
% Windows (simplified)
\fill[cyan!20] (1.6,1.4,1.6) -- (2.4,1.4,1.6) -- (2.4,1.4,2.4) -- (1.6,1.4,2.4) -- cycle;
% Front grille
\draw[black, thick] (3,0.3,0.2) -- (3,0.3,1.3);
\draw[black, thick] (3,0.6,0.2) -- (3,0.6,1.3);
\draw[black, thick] (3,0.9,0.2) -- (3,0.9,1.3);
\draw[black, thick] (3,1.2,0.2) -- (3,1.2,1.3);
\draw[black, thick] (3,1.5,0.2) -- (3,1.5,1.3);
\draw[black, thick] (3,1.8,0.2) -- (3,1.8,1.3);
% Large rear wheels
\fill[wheelgray] (-0.8,0.3,0) circle (0.6);
\fill[rimsilver] (-0.8,0.3,0) circle (0.4);
\fill[wheelgray] (-0.8,1.7,0) circle (0.6);
\fill[rimsilver] (-0.8,1.7,0) circle (0.4);
% Smaller front wheels
\fill[wheelgray] (3.5,0.5,0) circle (0.4);
\fill[rimsilver] (3.5,0.5,0) circle (0.25);
\fill[wheelgray] (3.5,1.5,0) circle (0.4);
\fill[rimsilver] (3.5,1.5,0) circle (0.25);
% Exhaust pipe
\fill[black] (0.5,0.1,1.5) -- (0.5,0.1,2.8) -- (0.6,0.1,2.8) -- (0.6,0.1,1.5) -- cycle;
\fill[black] (0.5,0.1,2.8) -- (0.6,0.1,2.8) -- (0.6,0.2,2.8) -- (0.5,0.2,2.8) -- cycle;
% Headlights
\fill[yellow!80] (3.1,0.4,1) circle (0.15);
\fill[yellow!80] (3.1,1.6,1) circle (0.15);
% Outline edges for 3D effect
\draw[black, thick] (0,0,0) -- (3,0,0) -- (3,2,0) -- (0,2,0) -- cycle;
\draw[black, thick] (0,0,0) -- (0,0,1.5);
\draw[black, thick] (3,0,0) -- (3,0,1.5);
\draw[black, thick] (3,2,0) -- (3,2,1.5);
\draw[black, thick] (0,2,0) -- (0,2,1.5);
\draw[black, thick] (0,0,1.5) -- (3,0,1.5) -- (3,2,1.5) -- (0,2,1.5) -- cycle;
% Cabin outline
\draw[black, thick] (1.5,0.5,1.5) -- (2.5,0.5,1.5) -- (2.5,1.5,1.5) -- (1.5,1.5,1.5) -- cycle;
\draw[black, thick] (1.5,0.5,1.5) -- (1.5,0.5,2.5);
\draw[black, thick] (2.5,0.5,1.5) -- (2.5,0.5,2.5);
\draw[black, thick] (2.5,1.5,1.5) -- (2.5,1.5,2.5);
\draw[black, thick] (1.5,1.5,1.5) -- (1.5,1.5,2.5);
\draw[black, thick] (1.5,0.5,2.5) -- (2.5,0.5,2.5) -- (2.5,1.5,2.5) -- (1.5,1.5,2.5) -- cycle;
\end{tikzpicture}
\end{document}
This TikZ drawing creates a 3D red tractor with the following features:
- A red main body and engine compartment with 3D shading
- A darker red cabin with windows
- Large rear wheels and smaller front wheels in gray with silver rims
- A black exhaust pipe extending upward
- Yellow headlights on the front
- A front grille with horizontal lines
- Proper 3D perspective using custom coordinate transformations
The drawing uses a custom 3D coordinate system to create the illusion of depth and includes proper shading on different faces to enhance the 3D appearance.