Today, I am thrilled to share with you an exciting new feature that has been added to Code Ninja - Code Ninja Variables! This latest addition empowers you to take your drawings to the next level by allowing you to use variables in your Code Ninja creations.
Using variables in your drawings opens up a whole new world of possibilities. You can now assign values to variables and manipulate them using math commands. This means you can make your more drawings dynamic by incorporating calculations into your code!
But that’s not all! Another handy addition is the ability to access the
loopCount from repeat commands. With this feature, you can see how many times a particular section of code loops, and use that value as a variable to make even more interesting images.
To help you get started with these awesome new features, I have also added some fresh code examples showcasing how they can be used effectively. These examples will provide you with inspiration and guidance as you explore the creative potential of Code Ninja Variables.
And there’s one more thing - I heard your requests, and I’m happy to announce that I have also included an arc command in this update! Drawing curves has never been easier. Whether it’s creating smooth lines or intricate arcs, this new command will give your drawings a whole new level of sophistication.
For detailed information on how to unleash the power of Code Ninja Variables and make the most out of this exciting update, be sure to check out our comprehensive documentation available on our website.
So what are you waiting for? Dive into Code Ninja today and start exploring all the incredible things you can achieve with Code Ninja Variables. Unleash your creativity like never before!
Need a new look?
Support Brush Ninja - Buy a TShirt.
13 May 2020
In Brush Ninja Classic (the current version), you can draw rectangles, circles, triangles and stars. Brush Ninja v2 allows so much more. This feature actually came about by accident. I had added the basic shape drawing functionality to Brush Ninja v2, and then wanted to add a heart shape. Which...
09 March 2023
March the 10th is Super Mario Day, so I thought this year I’d celebrate it by making a Mario portrait with Code Ninja, and a Mario animation with Brush Ninja. I’ve been obsessed with Nintendo since my childhood, it was once my goal to work for them. That’s not looking...
01 April 2020
It’s been a while since I’ve posted here. But I’ve been thinking a lot about the future of Brush Ninja over the last few months. As I mentioned last time, I’ve had to prioritise earning a living. Brush Ninja just about covers costs, but as a project I love it...