BLACK HOLES (yuvalbe) Mac OS
BLACK HOLES (yuvalbe) Mac OS
(A Processing game)
We are making a new edition of this game: Black Hole Master.
This game is a light-hearted remake of the old classic, except with a cosmic twist!The original game of Ponginvolved each player controlling a paddle which they woulduse to bounce a ball back to their opponent, in the hope they would miss. Each timethe ball touched the opponent's side of the screen, the player would win a point.
Inthis remake, each player now controls a black hole! The objective; to position theirblack hole on their side of the screen and utilise its gravitational potential tofling an approaching star back. Whoever lets a star slip past loses!
Maybe you have previously used soundflower for recording internal audio, and then realized there are problems with audio flower and Mac OS Catalina.
If you want to know more about how we are using large laser interferometers to look forastronomical signals from black holes, have a look at our Ebook ongraviatational wave detection!
This program is provided as a stand-alone application (not as an applet that runsin a browser). To run this application please download the appropriate file, unzip it andstart the executable in the BlackHolePong folder. You must have a 32bit version of Java installedfor the application to work. The game has been tested only on Mac OS 10.5, 10.6and Windows XP. A Linux version might be added later.
- BlackHolePong_OSX.zip: binary for Mac OS (23 MB)
- BlackHolePong_Windows.zip: binary for Windows (22 MB)
The video below shows a short trailer of the game. For more games, see also ourSpace Time Quest.
When you have played the game we would like to get some feedback from you. Maybe youcan spend 2 minutes to answer this very short questionnaire? Thanks a lot!
Unlike the original Pong where each player was limited to moving their paddle in one dimension,each player can now position their black hole anywhere on their side of the screen.Each black hole has a truncated inverse square law force, allowing the player toinfluence the trajectory of an incoming star and (hopefully) sling-shot it back towardstheir opponent. A player scores a goal whenever the star escapes through the back of theiropponent's side of the screen. After eachgoal the game resets and a new star appears in the middle of the screen.
Controls- BlackHole offers 16 channels of audio inputs and outputs, which can be configured to accommodate 256 channels – although it might be unlikely the average user will require such a beastly amount. It seems simple enough to use, and most importantly, of course, is compatible with newer Mac OS X versions up to Catalina.
- There are more than 10 alternatives to BlackHole for Mac, Windows, Linux, iPhone and iPad. The best alternative is VB-Audio VoiceMeeter, which is free. Other great apps like BlackHole are JACK Audio Connection Kit (Free, Open Source), Soundflower (Free, Open Source), VB-Audio Virtual Cable (Freemium) and Virtual Audio Cable (Paid).
The game is for two players only, in other words, you cannot play against the computer(yet).Each player can control the position of his/her black hole within his/her side of thescreen. The range of the gravitational force of each black hole can be increasedtemporarily (by pressing the correct button). At a later stage in the game each playerwill be equipped with three 'worm holes'; these exhibit completly fictionalbehaviour, but should be fun. Try them out!
To control the black hole you can use Xbox controllers connectedby USB, a normal mouse (in the Mac OS version) or the keyboard:
Xbox controller:- the left hand stick controls the position of the black hole
- the upper left button increases the range of the gravitational potential
- hold down the right hand shoulder button for a while to initiate a worm hole
- the mouse position controls the position of the black hole
- the left button increases the range of the gravitational potential
- press the right button for a while to initiate a worm hole
- one player uses the arrow keys to move the black hole, ENTER for increasingthe gravitational range and BACKSPACE to activate the worm hole
- the second player uses A,S,D and W to move the black hole, TAB for increasingthe gravitational range and '1' to activate the worm hole
The boundaries of the screen which do not act as goals have an infinite potentialwall along with a small damping factor. This contains the star in the screen (aswith the original game of Pong) but also decreases the speed of the star by a smallfraction each time it bounces off a wall, ensuring the game does not get too out ofhand!
Unlike the original which utilises the intuitive nature of elastic collisionsbetween a ball and paddle, this game requires understanding of how gravitationalpotentials behave. Each black hole has an attractive force on the star which decayswith seperation distance according to an inverse square law. This is similar to how astar would be affected, at a distance, by the gravitational field of an object muchmore massive than itself.The game helps people to understand the concepts of orbital mechanics; in order tofling a star back, try to position the black hole so that the star passes just offcentre. The closer the star and black hole pass each other, the stronger the forceand the greater the deflection. If the distance of closest approach is increasedthe deflection will appear more and more gentle until hardly noticeable. These areall examples of stars with escape velocities, producing hyperbolic orbits.It is also possible to capture stars by approaching them from behind. This causes the starto decelerate to the point at which it is travelling below escape velocity, entering a bound, elliptical,orbit around the black hole. Timing is essential when removing the black hole from the orbit oryou may just hurl the star towards your goal!
One may also notice a distortion of the background image around the black holes,this is actually a realistic phenomenon called Gravitational Lensing! The intensestrength of the gravitational field of a black hole is sufficient to bend light aroundit, in a similar manner to a lens. This allows an observer to view what is behind ablack hole as it appears as a strectched image around its edge!
The game has been a great success during the exhibitionLooking for Black Holes with Lasersat British Science Festival in Birmingham, see some example photos below.
The game was started during my summer project at theGravitational Wave Group Birmingham, UK and then completed later by Andreas Freise.See also our other Processing examples.
So now I have become a big fan of Apple. Six months back I bought Iphone , this was the first time I got introduced to Mac OSX. I have been working on windows since last 8-9 years and have worked on linux also but I am quite impressd by OSX . The user friendliness and very few crashes :) as compared to Windows made be to buy Macbook plus I want to do some programming for iphone.I got my new macbook 4 days back after waiting for 7 days in shipping.It was very long wait :). I have two more laptops just bought few months back ,one is HP and other is dell vostro ,both are not so good as compared to MAC.
HP laptop is very noisy and gets hot very fast, keyboard is not good.Vostro is quite heavy, i am not sure about XPS.But I guess no one can match look and feel of mac.
Configuration of my macbook:
Intel Dual core 2.4gHz
4 GB RAM
160 GB harddisk , this is actually around 148 GB.
Now I have got Macbook I can start my programming for Iphone but sometimes I work on Windows and linux so need all of them installed in my machine.I love windows XP but as Microsoft has stopped selling XP, I have no choice but to go for Windows 7 Beta.
For linux distribution I worked on Ubuntu , OpenSuse and Fedora. I was planning to install Ubuntu and it looks very unstable , not a polished OS as compared to Fedora.
Fedora installation is smooth and it looks stable when working .
So I will install
Mac OS X
Black Holes (yuvalbe) Mac Os Download
Fedora 10Windows 7 Beta
on Macbook.
Default installted MacOS on macbook takes around 30GB disk spaces because of printer drives and IDVD and Garageband. I will probably not use them so thought of installing fresh copy of Macos , so that I may have better idea about installation process of mac also.
Black Holes (yuvalbe) Mac Os X
Installation Process:
1) Put Mac OS X DVD and restart . Press 'C' while booting so as to boot with Mac os X dvd.
2) Now we have to create partitions .Since last 4 days I am going through various blogs about triple boot but there is lot of confusion about how to partition for all three mac, windows and linux.Finally I got it working with following configuration:
First Partition: Data Storage 59GB. This is created to store the data from all windows, Linux and mac. It should be formated as FAT.
Second Partition: Create a FAT partition of 20GB. Label this as Linux. We will be using this partition for installing Linux.
Third Partition:Create a FAT partition of 20GB . Label this as Win7 . We will be using this partition for installing windows 7 beta.
Fourth Partition: Create Mac Extended partition of remaining disk. For me its around 48 GB. This will be used for installing MacOSX.
After creating partition ,click next and customize before final installation. If you have printers then you may select particular printer driver. I dont have any printers so I unselected it. Unselect Garageband and Idvd and also unselect language translations if not required.This will free quite large space. Total space used 7.8GB for mac installation.
After installing MAC, put Windows 7 beta dvd and boot it by pressing 'c'.
During windows installation select the partition we selected for Windows and format it .We have to format it as windows 7 need NTFS partition . After some time it will ask for reboot.
Windows 7 installation will install boot record on MBR.
Restart the machine.
Put Fedora 10 DVD and boot from it by pressing 'c'. Select Custom layout partition and select Linux partition.Format this as etx3 and mount on /.I have 4GB of RAM so I didnt create swap space.
Select custom installation if you want to select certain packages.By default it will install GNome. I am big fan of KDE so I selected KDE desktop. When it ask for installing boot loader , don't do anything. By default it will get install in /dev/sda3. Make sure it is /dev/sda3. We want to install GRUB on linux partition not on MBR.
Install linux.
Now we have following hard disk configuration.
/dev/sda1 ----EFI ---200MB
/dev/sda2----Data--FAT32-----59GB
/dev/sda3-----Linux(Grub installed here) ----EXT3----20GB
/dev/sda4-----Windows 7------NTFS-----20GB---(boot record of windows installed on MBR)
/dev/sda5------MACOS-------Mac OS extended---48GB
Now how to boot windows and linux. We need to install refti from http://refit.sourceforge.net/. This will install boot loader that can boot windows , linux as well MAC.
After installing it , if you boot you can see Mac and Linux option but where is Windows????
Some issue with MBR. Insert windows 7 dvd again and repair. It will automatically repair boot record for windows.
Reboot, now you can see all three windows,linux, and mac.Try to boot each one and make sure everyone is working...
Boot windows , complete its installation .Insert MACOS DVD1 to install drivers and bootcamp.It will do installation automatically you dont have to worry.
Fedora will give you some problem during installation of wireless.For me ndiswrapper and bcmwl5.inf driver provided in MACos dvd is working.
There are some other blogs mentioning how to install touchpad settings on fedora.This one is easy worked first time.
Thats it from me now..hope this blog will help others in installing all three os on macbook....
Happy working with MacBook!!!!!
BLACK HOLES (yuvalbe) Mac OS