This blog post is brought to you by the developer of BitBudget. BitBudget is an automated budgeting app for Android and iOS which syncs with your bank account and helps you avoid overspending. If you’d like to quit living paycheck-to-paycheck and get a better handle on your finances, download it today! https://bitbudget.io
Quick little how-to on running processing code in the trinket.io web based on coding environment. You’ll need to add three extra lines of code to your project that aren’t normally necessary when programming in a traditional python environment when working with processing on trinket.io. First remember to import sin from math and import all from processing. Last, you will need to call run() as the last line in your script (code example by Peter Farrell from his book Math Adventures with Python):
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters