Commit graph

180 commits

Author SHA1 Message Date
1d72ead26e Get rid of a bunch of unused code 2018-10-10 16:46:12 -07:00
2fa9b838f7 Four color gradients! Standard APIs! Wowwwww 2018-10-09 17:44:07 -07:00
141eee69ee Update the shaders
Translate by (-x, -y) first, then by (x, y) to get it back to normal.
2018-10-09 16:58:11 -07:00
1b8fc1feb7 Allow a slider to set the colorRotation in radians 2018-10-09 16:51:35 -07:00
e2886f9aad Messin around with iOS build; add separate schemes for iOS and macOS 2018-10-09 11:58:05 -07:00
d3190dd7e7 Add color rotation matrix to Parameters 2018-10-09 11:57:35 -07:00
0844fbc010 Attempting to make iOS work 2018-10-09 09:28:31 -07:00
fc0a567112 Reorganize existing app files into macOS folder
- Add an iOS target
2018-10-07 20:01:08 -07:00
8f1e1335bd Use the simd types where I can 2018-10-07 19:32:29 -07:00
edce32e021 Add vertical gradient 2018-10-05 20:27:47 -07:00
094a15f145 Remove Kit scheme 2018-10-05 20:07:46 -07:00
86c07ef4f5 Wow, the screensaver runs! 2018-10-05 20:07:03 -07:00
b3a1f353b7 Xcode detritus 2018-10-05 14:02:43 -07:00
28efe003bf Remove Kit files 2018-10-05 14:02:33 -07:00
a445e608b6 Remove the Kit
App still builds
2018-10-05 13:53:00 -07:00
39001b0ffa Disable Swift 3 @objc inference 2018-10-05 13:50:21 -07:00
cb516f6cf1 Update project settings 2018-10-05 13:45:55 -07:00
5caa763a99 Fix compiler errors after update to Swift 4.2 2018-10-05 13:45:37 -07:00
9f5b7c7cb5 Convert to Swift 4.2 2018-10-05 13:38:32 -07:00
c2633b5174 Some changes I don't remember to the screensaver parts 2018-10-05 13:37:55 -07:00
d6acff24ef Rearrange files in the project 2017-08-25 11:25:13 -07:00
a8204173fa [kit] Place labels before controls 2017-08-25 11:24:10 -07:00
bc1cff37cc [kit] Remove logging that was slowing things down 2017-08-25 11:21:07 -07:00
15ff6b90fb [kit] Remove dead references to Slider enum (I got rid of it) 2017-08-25 11:20:56 -07:00
1bd2ba0a71 [kit] Use #pragma mark in shader file
Still need to do some reorganization in here
2017-08-25 11:19:35 -07:00
0b752984dc [kit] Pass target and feather values into the shaders 2017-08-25 11:19:09 -07:00
6c06aadd37 [kit] Add target and feather properties to the Parameters struct 2017-08-24 18:35:16 -07:00
859127d537 [app] Remove MetalKit from linked frameworks 2017-08-24 18:30:48 -07:00
c5414bc1f2 Xcode shared schemes 2017-08-24 18:15:25 -07:00
f937b78dc2 Xcode made the default configuration name Release? 2017-08-24 18:07:37 -07:00
601937b2da Code signing? 2017-08-24 18:07:20 -07:00
fce73ea1df [saver] ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES 2017-08-24 18:07:04 -07:00
5124bf370f [saver] Fiddle with the target name? 2017-08-24 18:06:26 -07:00
e3084cf821 [saver] Log frame size changes 2017-08-24 18:05:13 -07:00
8e4e805e5c [saver] Show the close button in the prefs view 2017-08-24 18:04:51 -07:00
c026efb41c [saver] Override stopAnimation() -- do nothing 2017-08-24 18:04:34 -07:00
c171011c96 [saver] Add balls to the field 2017-08-24 18:04:14 -07:00
bdf0d0b7c5 [saver] Subclass MTKView to make it opaque 2017-08-24 18:03:33 -07:00
d730c244a5 [kit] Return a (0,0) point if the radius is too big for the bounds 2017-08-24 18:01:30 -07:00
bed81b2da1 [kit] Shuffle around some logging 2017-08-24 17:59:47 -07:00
a07bced808 [kit] Create Metal library from Kit bundle, rather than main bundle 2017-08-24 17:59:18 -07:00
b028a9ed2e [kit] Show close button in prefs window if needed 2017-08-24 17:57:50 -07:00
5d6cf1a575 [saver] Add PRODUCT_MODULE_NAME to NSPrincipalClass 2017-08-18 09:10:22 -07:00
3b598b8b22 [saver] Set ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES 2017-08-18 09:05:14 -07:00
be4d8635b0 [saver] Set EMBEDDED_CONTENT_CONTAINS_SWIFT, per some SO post
https://stackoverflow.com/questions/27852616/do-swift-screensavers-work-in-mac-os-x-before-yosemite
2017-08-18 09:04:38 -07:00
eb2ea7387d [saver] Make MetaballsSaverView public; finish implementation 2017-08-18 09:03:33 -07:00
6b663f92e8 [kit] Shuffle things around so delegate doesn't have to be given in init()
Classes that use the Renderer might not be ready to assign themselves as delegate when the Renderer is initialized
2017-08-18 09:03:01 -07:00
43caa7d844 [kit] Make PrefsVC public 2017-08-18 09:01:42 -07:00
b66272bb7c [saver] Copy MetaballsKit into screensaver bundle 2017-08-18 09:01:17 -07:00
40e7bcc699 [saver] Rename MetaballsSaver -> Metaballs.saver 2017-08-18 09:00:43 -07:00