# HG changeset patch
# User Chris Cannam
# Date 1385736826 0
# Node ID 896b89e67f3ccb93aa11ae911db90ad798471675
# Parent 170c334c54b90b1adaf8997e2923d71aae99f93f# Parent df8784695584151284836b689ffc098f51aa426f
Merge
diff -r 170c334c54b9 -r 896b89e67f3c deploy/osx/Info.plist
--- a/deploy/osx/Info.plist Fri Nov 29 14:52:13 2013 +0000
+++ b/deploy/osx/Info.plist Fri Nov 29 14:53:46 2013 +0000
@@ -8,9 +8,9 @@
Tony
CFBundleExecutable
Tony
- CFBundleIdentifier
+ CFBundleIconFile
+ tony.icns
+ CFBundleIdentifier
uk.ac.qmul.eecs.c4dm.Tony
CFBundleShortVersionString
TONY_VERSION
diff -r 170c334c54b9 -r 896b89e67f3c generateIcon.R
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/generateIcon.R Fri Nov 29 14:53:46 2013 +0000
@@ -0,0 +1,22 @@
+t <- seq(0,8*pi,.01)
+w <- pnorm(t, 4*pi, .7)
+n <- length(t)
+pitchDiff <- 6
+sin1 <- sin(t) + pitchDiff
+sin2 <- sin(t)
+
+lineWidth <- 15
+outlineWidth <- 20
+sz <- 200
+
+png("tonyLogoWave.png", width = sz, height = sz, bg="transparent")
+par(mar=c(0,0,0,0))
+plot(t, sin1 * w + sin2 * (1-w), type='l',
+ lwd=lineWidth, bty='n', xaxt='n', yaxt='n',
+ ylim = c(-pad, pitchDiff+pad) + c(1,-1)*0.1,
+ xlim = c(0, 8*pi) + c(1,-1)*0.1)
+lines(c(0,0),c(-pad,pitchDiff+pad), lwd=outlineWidth, col = 'blue', lend=2)
+lines(c(0,0)+8*pi,c(-pad,pitchDiff+pad), lwd=outlineWidth, col = 'blue', lend=2)
+lines(c(0,8*pi),c(0,0)+pitchDiff+pad, lwd=outlineWidth, col = 'blue', lend=2)
+lines(c(0,8*pi),c(0,0)-pad, lwd=outlineWidth, col = 'blue', lend=2)
+dev.off()
\ No newline at end of file
diff -r 170c334c54b9 -r 896b89e67f3c tony.icns
Binary file tony.icns has changed