translate(canvas.width / 2, canvas.height / 2);
            planets.forEach(body => {
                if (body.distance === 0) {
                    // Draw Sun
                    drawBody(ctx, body, 0, 0);
                } else {
                    drawBody(ctx, body, body.x, body.y);
                    // Draw label
                    drawLabel(ctx, body.name, body.x, body.y, body.radius);
                }
            });
            ctx.restore();

            // FPS calculation
            frames+