Permalink
Browse files

Initial commit.

  • Loading branch information...
0 parents commit 74de92a56bf27c5afcea3c9e699498621d3c1947 @jmstacey committed May 25, 2009
Showing with 26,927 additions and 0 deletions.
  1. BIN .DS_Store
  2. +157 −0 .svn/entries
  3. +1 −0 .svn/format
  4. +7 −0 .svn/text-base/Animated Mandelbrot_Prefix.pch.svn-base
  5. +71 −0 .svn/text-base/AppController.m.svn-base
  6. +45 −0 .svn/text-base/FractalView.h.svn-base
  7. +169 −0 .svn/text-base/FractalView.m.svn-base
  8. +28 −0 .svn/text-base/Info.plist.svn-base
  9. +27 −0 .svn/text-base/Mandelbrot.h.svn-base
  10. +152 −0 .svn/text-base/Mandelbrot.m.svn-base
  11. +59 −0 .svn/text-base/QTMovieExtensions.h.svn-base
  12. +160 −0 .svn/text-base/QTMovieExtensions.m.svn-base
  13. +14 −0 .svn/text-base/main.m.svn-base
  14. +125 −0 Animated Mandelbrot.xcodeproj/.svn/entries
  15. +1 −0 Animated Mandelbrot.xcodeproj/.svn/format
  16. +5 −0 Animated Mandelbrot.xcodeproj/.svn/prop-base/TemplateIcon.icns.svn-base
  17. BIN Animated Mandelbrot.xcodeproj/.svn/text-base/TemplateIcon.icns.svn-base
  18. +1,433 −0 Animated Mandelbrot.xcodeproj/.svn/text-base/jon.mode1v3.svn-base
  19. +476 −0 Animated Mandelbrot.xcodeproj/.svn/text-base/jon.pbxuser.svn-base
  20. +1,432 −0 ...andelbrot.xcodeproj/.svn/text-base/jonstacey (iMac's conflicted copy 2009-02-12).mode1v3.svn-base
  21. +2,378 −0 ...andelbrot.xcodeproj/.svn/text-base/jonstacey (iMac's conflicted copy 2009-02-12).pbxuser.svn-base
  22. +1,438 −0 Animated Mandelbrot.xcodeproj/.svn/text-base/jonstacey.mode1v3.svn-base
  23. +559 −0 Animated Mandelbrot.xcodeproj/.svn/text-base/jonstacey.pbxuser.svn-base
  24. +312 −0 Animated Mandelbrot.xcodeproj/.svn/text-base/project.pbxproj.svn-base
  25. BIN Animated Mandelbrot.xcodeproj/TemplateIcon.icns
  26. +1,468 −0 Animated Mandelbrot.xcodeproj/jon.mode1v3
  27. +694 −0 Animated Mandelbrot.xcodeproj/jon.pbxuser
  28. +1,432 −0 Animated Mandelbrot.xcodeproj/jonstacey (iMac's conflicted copy 2009-02-12).mode1v3
  29. +2,378 −0 Animated Mandelbrot.xcodeproj/jonstacey (iMac's conflicted copy 2009-02-12).pbxuser
  30. +1,466 −0 Animated Mandelbrot.xcodeproj/jonstacey.mode1v3
  31. +777 −0 Animated Mandelbrot.xcodeproj/jonstacey.pbxuser
  32. +354 −0 Animated Mandelbrot.xcodeproj/project.pbxproj
  33. +13 −0 Animated Mandelbrot_Prefix.pch
  34. +38 −0 AppController.h
  35. +149 −0 AppController.m
  36. +1,156 −0 Controls.xib
  37. +51 −0 ControlsController.h
  38. +174 −0 ControlsController.m
  39. +53 −0 English.lproj/.svn/entries
  40. +1 −0 English.lproj/.svn/format
  41. +5 −0 English.lproj/.svn/prop-base/InfoPlist.strings.svn-base
  42. BIN English.lproj/.svn/text-base/InfoPlist.strings.svn-base
  43. +3,977 −0 English.lproj/.svn/text-base/MainMenu.xib.svn-base
  44. BIN English.lproj/InfoPlist.strings
  45. +1,978 −0 English.lproj/MainMenu.xib
  46. +56 −0 FractalMovie.h
  47. +232 −0 FractalMovie.m
  48. +54 −0 FractalView.h
  49. +330 −0 FractalView.m
  50. +28 −0 Info.plist
  51. +36 −0 JSIndeterminateProgressIndicatorCell.h
  52. +189 −0 JSIndeterminateProgressIndicatorCell.m
  53. BIN Mandelbrot Set.icns
  54. +47 −0 Mandelbrot.h
  55. +254 −0 Mandelbrot.m
  56. +392 −0 Progress.xib
  57. +28 −0 ProgressController.h
  58. +54 −0 ProgressController.m
  59. +14 −0 main.m
BIN .DS_Store
Binary file not shown.
@@ -0,0 +1,157 @@
+8
+
+dir
+10
+file:///Users/jon/Documents/Personal/Repositories/Xcode/Animated%20Mandelbrot
+file:///Users/jon/Documents/Personal/Repositories/Xcode
+
+
+
+2009-02-14T03:37:30.879145Z
+10
+jon
+
+
+svn:special svn:externals svn:needs-lock
+
+
+
+
+
+
+
+
+
+
+
+66155fd9-35d7-4a58-a425-3d0668527d7d
+
+build
+dir
+
+AppController.m
+file
+
+
+
+
+2009-02-14T03:38:00.000000Z
+1da96f740ac798d12550af2c6dcbd6d2
+2009-02-14T03:37:30.879145Z
+10
+jon
+
+QTMovieExtensions.m
+file
+
+
+
+delete
+2009-02-14T03:38:00.000000Z
+9b24265b4308d7d39f426e22f857d39d
+2009-02-14T03:37:30.879145Z
+10
+jon
+
+main.m
+file
+
+
+
+
+2009-02-14T03:38:00.000000Z
+ebf689ae1f05c8e3d9eafb0e3e332822
+2009-02-14T03:37:30.879145Z
+10
+jon
+
+Animated Mandelbrot_Prefix.pch
+file
+
+
+
+
+2009-02-14T03:38:00.000000Z
+1de89f5e698d4c03616f1c8b129b1c84
+2009-02-14T03:37:30.879145Z
+10
+jon
+
+FractalView.m
+file
+11
+
+
+
+2009-02-15T08:05:13.000000Z
+dbe5a47c53bd5a243b9077bd158aced9
+2009-02-15T08:05:28.503496Z
+11
+jon
+
+Mandelbrot.m
+file
+
+
+
+
+2009-02-14T03:38:00.000000Z
+07906fc1be127a6b2ca4b61cab3f79f3
+2009-02-14T03:37:30.879145Z
+10
+jon
+
+Info.plist
+file
+
+
+
+
+2009-02-14T03:38:00.000000Z
+b6afde9abcf8b84bdeea9bc79e596f23
+2009-02-14T03:37:30.879145Z
+10
+jon
+
+Animated Mandelbrot.xcodeproj
+dir
+
+QTMovieExtensions.h
+file
+
+
+
+delete
+2009-02-14T03:38:00.000000Z
+bab2fcb4db5b82415b74f504436e462a
+2009-02-14T03:37:30.879145Z
+10
+jon
+
+FractalView.h
+file
+
+
+
+
+2009-02-14T03:38:00.000000Z
+5b085ae930abe20a085b5ef25c514140
+2009-02-14T03:37:30.879145Z
+10
+jon
+
+Mandelbrot.h
+file
+
+
+
+
+2009-02-14T03:38:00.000000Z
+11cd6d1dd52adc14e39928ac404f73d5
+2009-02-14T03:37:30.879145Z
+10
+jon
+
+English.lproj
+dir
+
@@ -0,0 +1 @@
+8
@@ -0,0 +1,7 @@
+//
+// Prefix header for all source files of the 'Animated Mandelbrot' target in the 'Animated Mandelbrot' project
+//
+
+#ifdef __OBJC__
+ #import <Cocoa/Cocoa.h>
+#endif
@@ -0,0 +1,71 @@
+//
+// AppController.m
+// Animated Mandelbrot
+//
+// Created by Jon Stacey on 2/7/09.
+// Copyright 2009 Jon's View. All rights reserved.
+//
+
+#import "AppController.h"
+
+
+@implementation AppController
+
+- (id)init
+{
+ if (self != [super init])
+ return nil;
+
+ // Set maximums and minimums for default values
+ minMaxDwell = 128;
+ maxMaxDwell = 16384;
+
+ minEscapeRadius = 2;
+ maxEscapeRadius = 128;
+
+ return self;
+}
+
+- (BOOL)validateMaxDwell:(id *)ioValue
+ error:(NSError **)outError
+{
+ int value = [*ioValue intValue];
+
+ [self willChangeValueForKey:@"maxDwell"];
+
+ if (value < minMaxDwell)
+ maxDwell = minMaxDwell;
+ else if (value > maxMaxDwell)
+ maxDwell = maxMaxDwell;
+ else
+ maxDwell = value;
+ [self didChangeValueForKey:@"maxDwell"];
+
+ return YES;
+}
+
+- (BOOL)validateEscapeRadius:(id *)ioValue
+ error:(NSError **)outError
+{
+ int value = [*ioValue intValue];
+
+ [self willChangeValueForKey:@"escapeRadius"];
+
+ NSLog(@"Changing minEscape");
+
+ if (value < minEscapeRadius)
+ escapeRadius = minEscapeRadius;
+ else if (value > maxEscapeRadius)
+ escapeRadius = maxEscapeRadius;
+ else
+ escapeRadius = escapeRadius;
+
+ [self didChangeValueForKey:@"escapeRadius"];
+
+ return YES;
+}
+
+@synthesize maxDwell;
+@synthesize escapeRadius;
+
+@end
@@ -0,0 +1,45 @@
+//
+// FractalView.h
+// Animated Mandelbrot
+//
+// Created by Jon Stacey on 2/7/09.
+// Copyright 2009 Jon's View. All rights reserved.
+//
+
+
+#import <Cocoa/Cocoa.h>
+#import <QTKit/QTKit.h>
+#import <QuickTime/QuickTime.h>
+@class Mandelbrot;
+@class QTMovieExtensions;
+
+
+@interface FractalView : NSView {
+ NSBitmapImageRep *curView;
+ NSLock *workLock;
+
+ double viewX,
+ viewY,
+ viewStep,
+ movStartX,
+ movStartY,
+ movStartStep;
+
+ IBOutlet NSTextField *startCoordsTextField;
+ IBOutlet NSTextField *endCoordsTextField;
+ IBOutlet NSTextField *actionMessageTextField;
+ IBOutlet NSTextField *frameCountTextField;
+ IBOutlet NSProgressIndicator *progressBar;
+ IBOutlet NSWindow *calculatingWindow;
+
+ IBOutlet NSButton *setCurCoordsButton;
+
+ IBOutlet id objectController;
+}
+
+- (IBAction)redraw:(id)sender;
+- (IBAction)setStartingCoords:(id)sender;
+- (IBAction)createMovie:(id)sender;
+- (IBAction)reset:(id)sender;
+
+@end
Oops, something went wrong.

0 comments on commit 74de92a

Please sign in to comment.