Skip to content

Instantly share code, notes, and snippets.

Last active Nov 8, 2019
What would you like to do?
JSON Religions
height: 325
"religion": [{
"Arceusism": "Worshippers of Arceus, the creator of all Pokémon. See also Giratinism.",
"The Babarambaba Cult": "Worshippers of Mother Nature, personified in a head of lettuce named Ralph.",
"Bajoran religion": "Star Trek: Deep Space Nine.",
"Bandosianism": "RuneScape's war religion.",
"Banjoism": "Elan's religion in The Order of the Stick.",
"Beism": "Giles Goat-Boy, John Barth.",
"Beliar": "Gothic (video game), god of darkness, death and chaos and lord of lightning and earth.",
"Bene Gesserit": "Dune series."
<!DOCTYPE html>
<meta charset=UTF-8>
<script async src=></script>
<script defer src=sketch.js></script>
* JSON Religions (v1.0)
* GoToLoop (2017-May-05)
* how-do-i-display-this-data-as-text#Item_4
"use strict";
const FILENAME = 'flower.json';
let religions;
function preload() {
loadJSON(FILENAME, ({religion: [obj]}) => religions = obj);
function setup() {
noCanvas(), noLoop();
for (const key in religions) {
const religion = `<u>${key}</u>: `.bold().big(),
description = religions[key].italics();
createP(religion + description);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment