Skip to content

Instantly share code, notes, and snippets.

@zamfi

zamfi/jd-object.js

Created Sep 13, 2020
Embed
What would you like to do?
var jd = {
name: "J.D. Zamfirescu",
food: "宫保鸡丁",
color: "blue"
};
textAlign(CENTER);
fill(0);
textSize(15);
text("❤️", width/2, height/2-10)
textSize(40);
text(jd.name, width/2, height/2-30);
fill(jd.color);
text(jd.food, width/2, height/2+30);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment