p5.co2Budget.js

This library opens up the idea of CO2-Clock to creative communities of coders, designers and artists using the p5*js project.

 

Embed the p5.co2Budget.js library online to stay up-to-date automatically.
http://projects.olafval.de/co2-budget/p5.co2Budget.js

Place this line in the header of your html code: <script src="http://projects.olafval.de/co2-budget/p5.co2Budget.js"></script>

 

Download the library package as ZIP-File:
p5-co2Budget-Library
Sign up to receive updates in case the research data should change!
Newsletter

 

Reference

Syntax:
co2Budget(s, agr).budget
co2Budget(s, agr).years
co2Budget(s, agr).months
co2Budget(s, agr).days
co2Budget(s, agr).hours
co2Budget(s, agr).minutes
co2Budget(s, agr).seconds

Parameters:
s = Scenario (1.5 or 2)
agr = Annual Growth Rate (1)

 

Examples


basic


co2Clipart


co2DataVisualization