This is a super advanced use of a super simple concept made in a fun project, for those who find hard to keep some places safe. Just run this project and open your desktop (ctrl+d / cmd+d) so any unwanted visitors get quite a shock! To turn the alarm off and to gain access to some settings, type out the password. The default password is 123456. The maximum password length is six characters. This provides a high level of security, as an imposter has a 1 in 4750104241 chance of guessing a six-character-long password. You can change the password by pressing the 'Edit Password' button.
All art, ideas and coding were by me ( @______5 :), although the alarm sound was from the sound library. For this project to work, you'll need a working camera and microphone.