Looking for best tutorials for Pythonista on YouTube or elsewhere on the Internet. Haven’t found anything satisfactory on simple Google search or YouTube search. Any suggestions appreciated.
This post is deleted!last edited by Wenzel3
@JonB Hey! I am looking for some modules related to vector graphics and Pythonista's extensions, tried searching but didn't find quality, could you please suggest some?
@william26445 when you say vector graphics, do you mean SVG specially? Or just graphics consisting of lines, rectangles, ellipses, etc?
The scene and ui
Pathhave the usual assortment of lines, arcs, ellipses rectangles, etc, that you would expect from a vector graphics program.
Here is an example of a clock.
ui, you subclass ui.View and define a
For scene, you would define a
drawmethod within your scene.Scene subclass, and use the
scene_drawingin pythonista has basically the exact same set of core drawing functions, so you could replicate anything you create in Khan using pythonista with very minimal changes. My son is hooked on making games and animations using Khan's simple setup.
@JonB I am initially looking for the basic shapes; lines, ellipse, and more. Scalable vectors are not the one. By the way, I will watch out for the beginner tutorial you shared, maybe I'd find something.
@william26445 read through the docs for scene_drawing, and for ui.Path. I believe there are some examples there as well.
Check the Pythonista_Tools repo on GitHub, maybe under graphics, there are probably a number of old examples.
Finally @zacbir used to have a repo called geometer, where he used the basic wrappers to create generative art. The repo is still there, but I don't see the example anymore...
You might get some ideas there. I should also have mentioned the
canvasmodule, which is depreciated, but might be more suitable for real time experimentation.
@JonB Thanks a lot! God bless you.