Fabric.js Tutorial Part 6
Posted by Al Sweigart in misc
Posted by Al Sweigart in misc
Posted by Al Sweigart in misc
Part 5 of a tutorial series on the Fabric.js canvas/graphics library for JavaScript, where we learn about grouping, cloning, and rotating shapes.
Posted by Al Sweigart in misc
Part 4 of a tutorial series on the Fabric.js canvas/graphics library for JavaScript, where we learn about drawing with paths.
Posted by Al Sweigart in misc
Part 3 of a tutorial series on the Fabric.js canvas/graphics library for JavaScript, where we learn about Line shapes and drawing a house.
Posted by Al Sweigart in misc
Part 2 of a tutorial series on the Fabric.js canvas/graphics library for JavaScript, where we learn about Polyline shapes and styling shapes by drawing a gingerbread figure.
Posted by Al Sweigart in misc
This is part 1 my tutorial series on the Fabric.js canvas/graphics library for JavaScript, where we learn about drawing basic shapes like rectangles, circles, and triangles to draw pine trees.
Posted by Al Sweigart in misc
Tweening functions allow you to easily add many different styles of natural-seeming movement to the graphics in your program. In this blog post, you'll learn about how tweening functions can make more lively movement animations using Pygame and the PyTweening third-party library. Tweening functions apply to any programming language, but this tutorial has actual Python code for you to run and experiment with. Start by installing these libraries by running pip install pygame
and pip install pytweening
from the terminal. Then follow along with the code examples.
Posted by Al Sweigart in misc
4 stars. I came across Selçuk Artut’s Geometric Patterns with Creative Coding while researching several topics on computer-generated art for beginners. I admit, the single 1-star review for this book annoyed me enough to read and review. I’ve come away believing that this book certainly deserves wider and better attention than that.
Posted by Al Sweigart in misc
Here are all the new additions and updates in the third edition.
Posted by Al Sweigart in misc
My 2022 book, The Recursive Book of Recursion (read online for free, buy direct from the publisher) covers recursive algorithms, a notoriously tricky subject for programmers and computer science students. I feel like I did a good job writing it (and my editors at No Starch Press did an incredible job editing it), but I wondered how well Large Language Models (LLMs) like ChatGPT could understand it. I ran the entire book through to see what mistakes or changes ChatGPT would make. The results were disappointing in some places but pleasantly surprising in others, so I wrote this blog post about the role AI could play in editing technical books.