This is a code golf with the help of Dr. Neyret and coyote.

Demo


 
Code