If you want to guide him into a career of computer programming with forward-looking skills, javascript would be the logical next step, not python (or perl or Rust or anything like that). Javascript has canvases and SVG and WebGL and anything he creates, he can show it to his friends on a wide variety of devices without them installing anything. Showing off creations can be a strong motivator. It's also getting to the point where you can use ES6 directly in modules loaded into the page without needing all the webpack hassle and still be compatible with most devices.

I'm not really recommending this for a 9 year old, but since we're on the topic of graphics in Perl, I'll go ahead and promote my OpenGL::Sandbox module, combined with the fact that it can run shader demos from www.ShaderToy.com. (but of course, so can javascript) Teaching a kid to think in terms of transformed coordinate spaces will go a LONG way in geometry and trigonometry later in high school and college. I'm doubting a 9 year old can grasp that yet, but who knows, everyone has different strengths. And sometimes early exposure can lead to later understanding.

Edit: Also, there is CmdlineGL if you want to teach him how to do 3D graphics in bash.


In reply to Re: Advice on learning Perl and graphics by NERDVANA
in thread Advice on learning Perl and graphics by Dr. Subtilis

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.