Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

MultiClock is a screensaver for macOS that displays the time using 24 clocks

License

NotificationsYou must be signed in to change notification settings

amiantos/multiclock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiClock is a screensaver for macOS that displays the current time using 24 clocks. MultiClock is very configurable, with a variety of hand and dial styles and the ability to customize the color of each independently.

Preview

Note: This gif has a low framerate. The screensaver itself operates at a fluid 60 FPS.

Preview animation of MultiClock screensaver showing 24 clocks rotate to show the numbers 1234, then a pattern, before rotating back to midnight.Configuration sheet for the screensaver, showing customizable colors and alternate hand and dial designs

Download

FAQ

What about 24-hour time support?

If you have macOS set to 24-hour time, the screensaver will automatically use 24-hour time as well.

Development

  1. Clone the repo
  2. OpenMultiClock.xcodeproj
  3. The 'macOS' build target allows you to preview the screensaver and control it manually. Take a look at the bottom ofClockScene.swift to see some keyboard shortcuts. Add your own to test out animations!

Adding Animations

If you'd like to add animations to ClockSaver, the public methods on theAnimation class make it easy--they're very similar to SKActions. For example, a sequence of animations may look like this:

queue(animations:[Animation.display(pattern: inwardPointPattern),Animation.wait(duration:5),Animation.positionBothHands(minuteDegrees:-45, hourDegrees:-225),Animation.spinBothHandsWithDelay(by:180, delay:0.2),Animation.currentTimeClock(),Animation.wait(duration:5),Animation.positionBothHands(minuteDegrees:-225, hourDegrees:-225),Animation.positionBothHands(minuteDegrees:0, hourDegrees:0),Animation.currentTimePrint(),])

Completed animations should go inClockController.swift. Add another integer toallAnimations at the top, and add a newcase to theswitch down below. Then submit a PR if you think the animation is cool :)

Why are all the degree references in negative? Because I'm too lazy to go back and make them positive after reworking the animation system. Submit a PR fixing it, if you want!

Authors

Credits

MultiClock was inspired byClockClock 24 byHumans since 1982.

About

MultiClock is a screensaver for macOS that displays the time using 24 clocks

Topics

Resources

License

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp