https://github.com/timpulver/ghost
A processing.org library to create transparent windows
https://github.com/timpulver/ghost
library processing
Last synced: 4 months ago
JSON representation
A processing.org library to create transparent windows
- Host: GitHub
- URL: https://github.com/timpulver/ghost
- Owner: timpulver
- License: other
- Created: 2012-11-24T21:42:32.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-12-10T17:59:46.000Z (over 11 years ago)
- Last Synced: 2023-03-22T10:33:55.924Z (about 3 years ago)
- Topics: library, processing
- Language: Java
- Homepage: http://www.timpulver.de/p5libs/ghost/
- Size: 169 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
#A processing.org library to create transparent windows#
With Ghost you can create transparent windows, well not really, Ghost displays an image of your desktop, so it looks like the window is transparent.
There are three different modes available:
Ghost ghost;
// transparent fullscreen window
ghost = new FullscreenGhost(this)
// transparent window at position x:0, y:100, width: 200, height: 300
ghost = new WindowedGhost(this, 0, 100, 200, 300);
// transparent window, which sticks to the screen boarder
// ("top", "right", "bottom", "left"), third parameter is window width / height
ghost = new StickyGhost(this, "top", 100);
}
Tested on Windows 8 and Mac OSX 10.7.5 Lion with Processing 2.0b6
## Download
Download the latest library-version here: [timpulver.de/p5libs/ghost](http://www.timpulver.de/p5libs/ghost/)
##Compiler notes##
The AWTUtilities class is only available in Java 1.6_10+ and needs some special setup in Eclipse. Follow this tutorial to get rid of the error message:
[Access restriction: Class is not accessible due to restriction on required library](http://www.digizol.com/2008/09/eclipse-access-restriction-on-library.html)