Skip to content

Instantly share code, notes, and snippets.

@nemo-kaz
nemo-kaz / introfx.groovy
Created June 8, 2012 13:42 — forked from ksky/introfx.groovy
Self introduction by Google+ API and GroovyFX
import groovyx.javafx.*
key = '<YOUR Google+ API KEY HERE>'
uid = 110611905999186598367 // user ID
url = "https://www.googleapis.com/plus/v1/people/$uid?key=$key".toURL()
json = new groovy.json.JsonSlurper().parseText(url.text)
GroovyFX.start {
def sg = new SceneGraphBuilder()