After reading the Wikipedia, I am wondering whether there is an algorithm that, given a size $N$, can generate an $N\!\times\! N$ matrix $\boldsymbol{W}$ whose spectral radius satisfies $\rho(\boldsymbol{W})<1$, where
$$ \rho(\boldsymbol{W}) = \max\limits_{\boldsymbol{W}} \left\{ |\lambda_{1}|, \dots, |\lambda_{n}| \right\} $$
for some natural $n$.
Here is a simple (albeit inefficient) algorithm to do this.
We can make this process faster if we merely require that $r_0 \geq W_0$, which means that that the resulting $W$ has spectral radius $\rho(W) \leq r$. Towards that end, we can simply take $r_0 = \|W\|$ for any submultiplicative norm $\|\cdot\|$. Note, however, that this makes it relatively unlikely that $\rho(W)$ will be close to $1$.