Code Monkey home page Code Monkey logo

pongclock's Introduction

Pong Clock

About

This is a clock that uses the game of Pong to tell the time.

It was originally a HTML5 + JS version by The Silvervest Group Labs (see http://www.reddit.com/r/web_design/comments/f6xff/html5js_pong_clock/)

I've ported to Chicken Scheme + GLUT/OpenGL (http://github.com/ZaneA/PongClock)

To run it, you'll need Chicken Scheme, with a couple of Eggs (chicken-install gl and glut).

Then, cd to this folder, and run (this is what I used, ymmv): csc clock.scm -LGLU

Now you can do ./clock (or ./clock -s for screensaver mode) and see it in all its beauty :)

TODO

  • Use a proper font
  • Sounds?

pongclock's People

Contributors

zanea avatar

Stargazers

 avatar

Watchers

 avatar  avatar

pongclock's Issues

Screensaver mode crashes application (Windows 7 Enterprise)

as far as i can tell this issue only appears on win7 enterprise with amd64 chip (seems to be an issue with glut...)

crash occurs during execution of line 57 (clock.scm) --> (glut:FullScreen) internally in glut library

same problem seems to be also present in C/C++ apps using glut (http://stackoverflow.com/questions/12205090/why-glutfullscreen-crashes-for-subwindow-on-win7-enterprise)

maybe a newer version of glut got this problem fixed (i didnt do any reseach in this direction).

would be cool, if you could find a way to fix this issue (our department is forced to use win7 enterp. and we want that goddamn screensaver! ๐Ÿ˜„

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.