\documentclass{standalone}
\usepackage{tikz}
\usepackage{xcolor}
\usetikzlibrary{3d,perspective}
\begin{document}
\begin{tikzpicture}[line join=round, line cap=round, scale=0.8]
% Set up 3D view
\pgfsetxvec{\pgfpoint{1cm}{0cm}}
\pgfsetyvec{\pgfpoint{0.4cm}{0.3cm}}
\pgfsetzvec{\pgfpoint{0cm}{1cm}}
% Define colors
\definecolor{tractorred}{RGB}{200,30,30}
\definecolor{darkred}{RGB}{150,20,20}
\definecolor{tiregray}{RGB}{50,50,50}
% Rear wheels
\filldraw[tiregray] (0,0,0) circle (1.2);
\filldraw[black!40!white] (0,0,0) circle (0.8);
\filldraw[tiregray] (0,4,0) circle (1.2);
\filldraw[black!40!white] (0,4,0) circle (0.8);
% Front wheels (smaller)
\filldraw[tiregray] (5,0.5,0) circle (0.8);
\filldraw[black!40!white] (5,0.5,0) circle (0.5);
\filldraw[tiregray] (5,3.5,0) circle (0.8);
\filldraw[black!40!white] (5,3.5,0) circle (0.5);
% Main body - bottom chassis
\filldraw[tractorred] (0.5,0.5,0.5) -- (5,0.5,0.5) -- (5,3.5,0.5) -- (0.5,3.5,0.5) -- cycle;
% Engine hood
\filldraw[tractorred] (3,0.8,0.5) -- (6,0.8,0.5) -- (6,3.2,0.5) -- (3,3.2,0.5) -- cycle;
\filldraw[tractorred] (3,0.8,0.5) -- (6,0.8,0.5) -- (6,0.8,2) -- (3,0.8,2) -- cycle;
\filldraw[tractorred] (6,0.8,0.5) -- (6,3.2,0.5) -- (6,3.2,2) -- (6,0.8,2) -- cycle;
\filldraw[tractorred] (3,3.2,0.5) -- (6,3.2,0.5) -- (6,3.2,2) -- (3,3.2,2) -- cycle;
\filldraw[tractorred] (3,0.8,2) -- (6,0.8,2) -- (6,3.2,2) -- (3,3.2,2) -- cycle;
\filldraw[darkred] (3,0.8,0.5) -- (3,3.2,0.5) -- (3,3.2,2) -- (3,0.8,2) -- cycle;
% Cab structure
\filldraw[tractorred] (0.8,1,0.5) -- (3,1,0.5) -- (3,3,0.5) -- (0.8,3,0.5) -- cycle;
\filldraw[tractorred] (0.8,1,0.5) -- (0.8,1,2.5) -- (0.8,3,2.5) -- (0.8,3,0.5) -- cycle;
\filldraw[tractorred] (0.8,1,2.5) -- (3,1,2.5) -- (3,3,2.5) -- (0.8,3,2.5) -- cycle;
\filldraw[tractorred] (3,1,0.5) -- (3,1,2.5) -- (3,3,2.5) -- (3,3,0.5) -- cycle;
\filldraw[tractorred] (0.8,3,0.5) -- (3,3,0.5) -- (3,3,2.5) -- (0.8,3,2.5) -- cycle;
% Windows
\filldraw[blue!30!white] (0.9,1.1,2.4) -- (2.9,1.1,2.4) -- (2.9,2.9,2.4) -- (0.9,2.9,2.4) -- cycle;
\filldraw[blue!30!white] (0.9,1.1,0.6) -- (0.9,1.1,2.4) -- (0.9,2.9,2.4) -- (0.9,2.9,0.6) -- cycle;
\filldraw[blue!30!white] (2.9,1.1,0.6) -- (2.9,1.1,2.4) -- (2.9,2.9,2.4) -- (2.9,2.9,0.6) -- cycle;
% Exhaust pipe
\filldraw[black!70!white] (5.5,1,2) -- (5.5,1,3.5) -- (5.5,1.3,3.5) -- (5.5,1.3,2) -- cycle;
% Axles
\draw[very thick] (0,0,0) -- (0,4,0);
\draw[very thick] (5,0.5,0) -- (5,3.5,0);
% Steering wheel (simplified)
\filldraw[black] (2,2,1.8) circle (0.3);
\draw[thick] (2,2,1.8) -- (1.8,2,1.8);
\draw[thick] (2,2,1.8) -- (2.2,2,1.8);
\draw[thick] (2,2,1.8) -- (2,1.8,1.8);
\draw[thick] (2,2,1.8) -- (2,2.2,1.8);
% Headlights
\filldraw[yellow!80!white] (6,1.2,1.2) circle (0.2);
\filldraw[yellow!80!white] (6,2.8,1.2) circle (0.2);
\end{tikzpicture}
\end{document}
Would you like me to explain or break down this code?