print("Hello world!")Hello world!
Nishan Mann
April 12, 2025
Over the years, I have tried my hand at many blogging tools as listed below:
Admittedly I rarely blog anyway but everytime I get an itch, the Internet has come up with a new tool! This time, its Quarto’s turn. As demonstration, here’s some rendered Python code.
Here’s some plotting code generated using Copilot.
import numpy as np
import matplotlib.pyplot as plt
# Generate a spiral with parametric equations
t = np.linspace(0, 20 * np.pi, 1000) # Increase the range and density for a smoother spiral
x = t * np.cos(t)
y = t * np.sin(t)
# Add some color using a colormap
colors = plt.cm.viridis(np.linspace(0, 1, len(t)))
# Create the plot
plt.figure(figsize=(10, 10), facecolor='black')
for i in range(len(t) - 1):
plt.plot(x[i:i+2], y[i:i+2], color=colors[i], lw=2) # Plot segment by segment