Team:TU Eindhoven/the game
From 2014.igem.org
(Difference between revisions)
Line 38: | Line 38: | ||
<div class="example"><script type="application/processing"> | <div class="example"><script type="application/processing"> | ||
- | |||
int cx, cy; | int cx, cy; | ||
float secondsRadius; | float secondsRadius; | ||
Line 55: | Line 54: | ||
hoursRadius = radius * 0.50; | hoursRadius = radius * 0.50; | ||
clockDiameter = radius * 1.8; | clockDiameter = radius * 1.8; | ||
- | |||
cx = width / 2; | cx = width / 2; | ||
Line 63: | Line 61: | ||
void draw() { | void draw() { | ||
background(255, 0, 0); | background(255, 0, 0); | ||
- | |||
// Draw the clock background | // Draw the clock background | ||
fill(80); | fill(80); |
Revision as of 14:10, 16 July 2014
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">