diff --git a/assets/images/DMRN.png b/assets/images/DMRN.png index c0751c7..82bf759 100644 Binary files a/assets/images/DMRN.png and b/assets/images/DMRN.png differ diff --git a/assets/images/Macoral Logo.png b/assets/images/Macoral Logo.png index fe9240b..9dc1111 100644 Binary files a/assets/images/Macoral Logo.png and b/assets/images/Macoral Logo.png differ diff --git a/assets/images/ai-icon.svg b/assets/images/ai-icon.svg index 20a40de..c788f83 100644 --- a/assets/images/ai-icon.svg +++ b/assets/images/ai-icon.svg @@ -1,617 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/assets/images/dedAI_Client.png b/assets/images/dedAI_Client.png index 4e0bf3f..b323898 100644 Binary files a/assets/images/dedAI_Client.png and b/assets/images/dedAI_Client.png differ diff --git a/assets/images/demo.png b/assets/images/demo.png index 6505330..e5bfe7c 100644 Binary files a/assets/images/demo.png and b/assets/images/demo.png differ diff --git a/assets/images/logo.svg b/assets/images/logo.svg index ae4e12d..d98c024 100644 --- a/assets/images/logo.svg +++ b/assets/images/logo.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/assets/images/music-production-icon.svg b/assets/images/music-production-icon.svg index e73a326..e8d9e77 100644 --- a/assets/images/music-production-icon.svg +++ b/assets/images/music-production-icon.svg @@ -1,1021 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/assets/images/paper.png b/assets/images/paper.png index dbea12a..acd8681 100644 Binary files a/assets/images/paper.png and b/assets/images/paper.png differ diff --git a/assets/images/research-icon.svg b/assets/images/research-icon.svg index 3044da7..56a984e 100644 --- a/assets/images/research-icon.svg +++ b/assets/images/research-icon.svg @@ -1,203 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/assets/images/web-development-icon.svg b/assets/images/web-development-icon.svg index 88ad9b6..b44666e 100644 --- a/assets/images/web-development-icon.svg +++ b/assets/images/web-development-icon.svg @@ -1,417 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/assets/images/website.png b/assets/images/website.png index 5b27eb0..3a0aa28 100644 Binary files a/assets/images/website.png and b/assets/images/website.png differ diff --git a/depreciated/+.jpg b/depreciated/+.jpg deleted file mode 100644 index af9a971..0000000 Binary files a/depreciated/+.jpg and /dev/null differ diff --git a/depreciated/.gitignore b/depreciated/.gitignore deleted file mode 100644 index d3f11de..0000000 --- a/depreciated/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -# https://git-scm.com/docs/gitignore -# https://help.github.com/articles/ignoring-files -# Example .gitignore files: https://github.com/github/gitignore -/bower_components/ -/node_modules/ \ No newline at end of file diff --git a/depreciated/ActiveUsers.PNG b/depreciated/ActiveUsers.PNG deleted file mode 100644 index 9fb8154..0000000 Binary files a/depreciated/ActiveUsers.PNG and /dev/null differ diff --git a/depreciated/AnimationElements.jpg b/depreciated/AnimationElements.jpg deleted file mode 100644 index be59383..0000000 Binary files a/depreciated/AnimationElements.jpg and /dev/null differ diff --git a/depreciated/AnimationFrames.jpg b/depreciated/AnimationFrames.jpg deleted file mode 100644 index 95c955a..0000000 Binary files a/depreciated/AnimationFrames.jpg and /dev/null differ diff --git a/depreciated/AnimationPlan.jpg b/depreciated/AnimationPlan.jpg deleted file mode 100644 index f98cbb8..0000000 Binary files a/depreciated/AnimationPlan.jpg and /dev/null differ diff --git a/depreciated/Documentation/CNAME b/depreciated/Documentation/CNAME deleted file mode 100644 index efad5fb..0000000 --- a/depreciated/Documentation/CNAME +++ /dev/null @@ -1 +0,0 @@ -primestudios.me \ No newline at end of file diff --git a/depreciated/Documentation/LICENSE b/depreciated/Documentation/LICENSE deleted file mode 100644 index fa53129..0000000 --- a/depreciated/Documentation/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [2018] [Elliott Mitchell] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/depreciated/Documents/SplashOut Design Images/SplashOutSurfingDesign1.png b/depreciated/Documents/SplashOut Design Images/SplashOutSurfingDesign1.png deleted file mode 100644 index 1a8d1f1..0000000 Binary files a/depreciated/Documents/SplashOut Design Images/SplashOutSurfingDesign1.png and /dev/null differ diff --git a/depreciated/Documents/SplashOut Design Images/SplashOutSurfingDesign2.png b/depreciated/Documents/SplashOut Design Images/SplashOutSurfingDesign2.png deleted file mode 100644 index 4d2d820..0000000 Binary files a/depreciated/Documents/SplashOut Design Images/SplashOutSurfingDesign2.png and /dev/null differ diff --git a/depreciated/Documents/SplashOut Design Images/SplashOutSurfingDesign3.png b/depreciated/Documents/SplashOut Design Images/SplashOutSurfingDesign3.png deleted file mode 100644 index 223acee..0000000 Binary files a/depreciated/Documents/SplashOut Design Images/SplashOutSurfingDesign3.png and /dev/null differ diff --git a/depreciated/GoogleWebDesigner.PNG b/depreciated/GoogleWebDesigner.PNG deleted file mode 100644 index b650084..0000000 Binary files a/depreciated/GoogleWebDesigner.PNG and /dev/null differ diff --git a/depreciated/HomePagePlan.jpg b/depreciated/HomePagePlan.jpg deleted file mode 100644 index 21f7670..0000000 Binary files a/depreciated/HomePagePlan.jpg and /dev/null differ diff --git a/depreciated/Images/Images/SplashOutLogo.png b/depreciated/Images/Images/SplashOutLogo.png deleted file mode 100644 index 85d65e3..0000000 Binary files a/depreciated/Images/Images/SplashOutLogo.png and /dev/null differ diff --git a/depreciated/Images/Images/backgroundimage.png b/depreciated/Images/Images/backgroundimage.png deleted file mode 100644 index d527c47..0000000 Binary files a/depreciated/Images/Images/backgroundimage.png and /dev/null differ diff --git a/depreciated/Images/Images/image2.png b/depreciated/Images/Images/image2.png deleted file mode 100644 index dc778b9..0000000 Binary files a/depreciated/Images/Images/image2.png and /dev/null differ diff --git a/depreciated/Images/Images/image3.png b/depreciated/Images/Images/image3.png deleted file mode 100644 index c3f6061..0000000 Binary files a/depreciated/Images/Images/image3.png and /dev/null differ diff --git a/depreciated/Images/NewThisYearReadmeImages/Examples/Combined/PNG/NewThisYearCombined.png b/depreciated/Images/NewThisYearReadmeImages/Examples/Combined/PNG/NewThisYearCombined.png deleted file mode 100644 index d56aaa0..0000000 Binary files a/depreciated/Images/NewThisYearReadmeImages/Examples/Combined/PNG/NewThisYearCombined.png and /dev/null differ diff --git a/depreciated/Images/NewThisYearReadmeImages/Examples/Combined/PSD/Combined.psd b/depreciated/Images/NewThisYearReadmeImages/Examples/Combined/PSD/Combined.psd deleted file mode 100644 index 762c744..0000000 Binary files a/depreciated/Images/NewThisYearReadmeImages/Examples/Combined/PSD/Combined.psd and /dev/null differ diff --git a/depreciated/Images/NewThisYearReadmeImages/Examples/RockClimbing/RockClimbingExample.PNG b/depreciated/Images/NewThisYearReadmeImages/Examples/RockClimbing/RockClimbingExample.PNG deleted file mode 100644 index c2e9ea4..0000000 Binary files a/depreciated/Images/NewThisYearReadmeImages/Examples/RockClimbing/RockClimbingExample.PNG and /dev/null differ diff --git a/depreciated/Images/NewThisYearReadmeImages/Examples/Rowing/RowingExample.PNG b/depreciated/Images/NewThisYearReadmeImages/Examples/Rowing/RowingExample.PNG deleted file mode 100644 index c5e8d1b..0000000 Binary files a/depreciated/Images/NewThisYearReadmeImages/Examples/Rowing/RowingExample.PNG and /dev/null differ diff --git a/depreciated/Images/NewThisYearReadmeImages/Examples/Surfing/SurfingExample.PNG b/depreciated/Images/NewThisYearReadmeImages/Examples/Surfing/SurfingExample.PNG deleted file mode 100644 index b42d7e8..0000000 Binary files a/depreciated/Images/NewThisYearReadmeImages/Examples/Surfing/SurfingExample.PNG and /dev/null differ diff --git a/depreciated/Images/SplashOutLogo.png b/depreciated/Images/SplashOutLogo.png deleted file mode 100644 index 85d65e3..0000000 Binary files a/depreciated/Images/SplashOutLogo.png and /dev/null differ diff --git a/depreciated/Images/backgroundimage.png b/depreciated/Images/backgroundimage.png deleted file mode 100644 index d527c47..0000000 Binary files a/depreciated/Images/backgroundimage.png and /dev/null differ diff --git a/depreciated/Images/image1.5.png b/depreciated/Images/image1.5.png deleted file mode 100644 index b52f99e..0000000 Binary files a/depreciated/Images/image1.5.png and /dev/null differ diff --git a/depreciated/Images/image2.5.png b/depreciated/Images/image2.5.png deleted file mode 100644 index 8dccb5e..0000000 Binary files a/depreciated/Images/image2.5.png and /dev/null differ diff --git a/depreciated/Images/image2.jpg b/depreciated/Images/image2.jpg deleted file mode 100644 index 0c7a211..0000000 Binary files a/depreciated/Images/image2.jpg and /dev/null differ diff --git a/depreciated/Images/image2.png b/depreciated/Images/image2.png deleted file mode 100644 index dc778b9..0000000 Binary files a/depreciated/Images/image2.png and /dev/null differ diff --git a/depreciated/Images/image3.5.png b/depreciated/Images/image3.5.png deleted file mode 100644 index 2d1a173..0000000 Binary files a/depreciated/Images/image3.5.png and /dev/null differ diff --git a/depreciated/Images/image3.jpg b/depreciated/Images/image3.jpg deleted file mode 100644 index 3860098..0000000 Binary files a/depreciated/Images/image3.jpg and /dev/null differ diff --git a/depreciated/Images/image3.png b/depreciated/Images/image3.png deleted file mode 100644 index c3f6061..0000000 Binary files a/depreciated/Images/image3.png and /dev/null differ diff --git a/depreciated/Images/readme.md/Example Images/SplashOutExample.PNG b/depreciated/Images/readme.md/Example Images/SplashOutExample.PNG deleted file mode 100644 index 9bac418..0000000 Binary files a/depreciated/Images/readme.md/Example Images/SplashOutExample.PNG and /dev/null differ diff --git a/depreciated/Images/splash.gif b/depreciated/Images/splash.gif deleted file mode 100644 index d508471..0000000 Binary files a/depreciated/Images/splash.gif and /dev/null differ diff --git a/depreciated/Images/splash22.gif b/depreciated/Images/splash22.gif deleted file mode 100644 index 8b2faf0..0000000 Binary files a/depreciated/Images/splash22.gif and /dev/null differ diff --git a/depreciated/LICENSE b/depreciated/LICENSE deleted file mode 100644 index fa53129..0000000 --- a/depreciated/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [2018] [Elliott Mitchell] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/depreciated/NetflixSplashScreen.PNG b/depreciated/NetflixSplashScreen.PNG deleted file mode 100644 index c6ffbf2..0000000 Binary files a/depreciated/NetflixSplashScreen.PNG and /dev/null differ diff --git a/depreciated/OpenNav.png b/depreciated/OpenNav.png deleted file mode 100644 index cdf3912..0000000 Binary files a/depreciated/OpenNav.png and /dev/null differ diff --git a/depreciated/PrimeStudiosPages/newelcome.html b/depreciated/PrimeStudiosPages/newelcome.html deleted file mode 100644 index ceac57f..0000000 --- a/depreciated/PrimeStudiosPages/newelcome.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - P.R.I.M.E Studios - - - - - -SplashOut - - -

Welcome to Prime Studios

-

To Proceed Click Continue

-
-
- Continue -
-
-
-
-
-
- - - - diff --git a/depreciated/PrimeStudiosPages/newfindoutmore.html b/depreciated/PrimeStudiosPages/newfindoutmore.html deleted file mode 100644 index 21ee886..0000000 --- a/depreciated/PrimeStudiosPages/newfindoutmore.html +++ /dev/null @@ -1 +0,0 @@ -

add prime studios details

\ No newline at end of file diff --git a/depreciated/PrimeStudiosPages/newhome.html b/depreciated/PrimeStudiosPages/newhome.html deleted file mode 100644 index b8e09a9..0000000 --- a/depreciated/PrimeStudiosPages/newhome.html +++ /dev/null @@ -1,312 +0,0 @@ - - - - - P.R.I.M.E Studios - - - - - - Prime - - - - - - - - - - - - - ☰ open nav - - - - - -
-
- This is the Prime Studios - - -
-

Home

-

- Make a splash with these brilliant water sports and activities at venues around the UK! Land lubbers stay away as we've got a whole raft of water-based activities that'll see you in the water, on the surface and even above those waves. Many are fairly action-packed, whilst others are pure waterborne relaxation. -

-

- Whether you are looking to gain a qualification, or just fancy the fun and games of watersports, we've got an experience for you. They range from taster sessions so you can (literally) dip your toe in the water, to two or three days of tuition where you can really hone your sea craft skills. -

-
-
- -
-

Boards, boats, sails & paddles - that’s our water sports collection

-

Although it's all about the H20, with these water sports it's more a case of H2Ooooooh as you balance on boards, paddle and propel yourself through the water in an adventure you never thought you'd have! Water activities that we offer include everything from team rafting to jettisoning yourself out of the lake attached to a jetpack, like you do. -

-

- - If you fancy seeing the sea or the lakes at an altogether different pace, we have activities on the water that let you row, row, gently down the stream in stunning locations such as the Welsh Black Mountains and the Brighton coastline. You can even discover inner city London from the water on a stand up paddle board (very much the latest watersports craze to hit the UK!). -

- -
-
- -
-
- FAQs -
- -
-
-

Do you need to be able to swim to enjoy watersports?

- The one question we are most often asked about these activities is if you need to be a good swimmer. In general, the answer is no. It’s worth pointing out that one of the more intense rafting sessions might not be to your liking if you are not confident around water. And perhaps there are other watersports activities where it's a good idea to be able to swim, but you don't need to be a Rebecca Adlington to participate and have fun - and of course, you'll be fully kitted up in your buoyancy aid to keep you afloat.
-
-
-

Learn using the latest watersport gear

-

- Also, with new, sturdier and safer watercraft coupled with lightweight and technically advanced life vests, the days of having to do capsizing routines in canoes and things are long gone. So in actual fact, you won't get unnecessarily wet on many of these water activities. Having said that, you will need to be prepared to take a few face plants on things like waterski and wakeboard lessons! -

-

- Whichever of our huge range of water sports you choose, be assured that all activities are conducted under the supervision of qualified and experienced coaches and instructors. Many of the waterborne games and sports offered are suitable for children and adults alike, so a day out on the water in complete safety can be for all the family. Question is, will you get drenched or not?! -

- -
-
- PRIME STUDIOS -
- - - - - - diff --git a/depreciated/PrimeStudiosPages/newindex.html b/depreciated/PrimeStudiosPages/newindex.html deleted file mode 100644 index d701077..0000000 --- a/depreciated/PrimeStudiosPages/newindex.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - P.R.I.M.E Studios - - - - - - - - -
- -
-
-
-
-
- - - - diff --git a/depreciated/PrimeStudiosPages/newminigamesnake.html b/depreciated/PrimeStudiosPages/newminigamesnake.html deleted file mode 100644 index a13b39f..0000000 --- a/depreciated/PrimeStudiosPages/newminigamesnake.html +++ /dev/null @@ -1 +0,0 @@ -

add snake game (change nav menu and color)

\ No newline at end of file diff --git a/depreciated/PrimeStudiosScripts/CSS/newstyle.css b/depreciated/PrimeStudiosScripts/CSS/newstyle.css deleted file mode 100644 index 9c20cfe..0000000 --- a/depreciated/PrimeStudiosScripts/CSS/newstyle.css +++ /dev/null @@ -1,65 +0,0 @@ -*{box-sizing: border-box} -body { - margin: 0; - padding: 0; - font-family: "Ubuntu"; -} - -.preload { - width: 100%; - height: 100%; - background: #333; - position: fixed; - top: 0; - left: 0; - z-index: 5; -} -.logo { - width: 350px; - height: 70px; - margin: 150px auto 50px auto; - font-size: 50px; - text-shadow: -1px 2px 2px #000; - text-align: center; - color: azure; -} - -.loader-frame{ - width: 70px; - height: 70px; - margin: auto; - position: relative; -} -.loader1,.loader2, .loader { - position: absolute; - border: 5px solid transparent; - border-radius: 50%; -} -.loader1 { - width: 70px; - height: 70px; - border-top: 5px solid azure; - border-bottom: 5px solid azure; - animation: clockwisespin 2s linear 3; -} -.loader2 { - width: 60px; - height: 60px; - border-left: 5px solid #ff0000; - border-right: 5px solid #ff0000; - top: 5px; left: 5px; - animation: anticlockwisespin 2s linear 3; -} - -@keyframes clockwisespin { - from {transform: rotate(0deg);} - to {transform: rotate(360deg);} -} -@keyframes anticlockwisespin { - from {transform: rotate(0deg);} - to {transform: rotate(-360deg);} -} -@keyframes fadeout { - from {opacity: 1;} - to {opacity: 0;} -} \ No newline at end of file diff --git a/depreciated/PrimeStudiosScripts/JS/newscript.js b/depreciated/PrimeStudiosScripts/JS/newscript.js deleted file mode 100644 index 1d47cdf..0000000 --- a/depreciated/PrimeStudiosScripts/JS/newscript.js +++ /dev/null @@ -1,20 +0,0 @@ -(function(){ - - var preload2 = document.getElementById("preload2"); - var loading2 = 0; - var id2 = setInterval(frame2, 64); - - - function frame2(){ - if(loading2 === 100) { - clearInterval(id2); - window.open("/PrimeStudiosPages/newelcome.html", "_self"); - } - else { - loading2 = loading2 + 1; - if(loading2 === 90) { - preload2.style.animation = "fadeout 1s ease"; - } - } - } -})(); \ No newline at end of file diff --git a/depreciated/PrimeStudiosScripts/JS/p5/p5.dom.js b/depreciated/PrimeStudiosScripts/JS/p5/p5.dom.js deleted file mode 100644 index 334321c..0000000 --- a/depreciated/PrimeStudiosScripts/JS/p5/p5.dom.js +++ /dev/null @@ -1,2536 +0,0 @@ -/*! p5.dom.js v0.3.4 Aug 11, 2017 */ -/** - *

The web is much more than just canvas and p5.dom makes it easy to interact - * with other HTML5 objects, including text, hyperlink, image, input, video, - * audio, and webcam.

- *

There is a set of creation methods, DOM manipulation methods, and - * an extended p5.Element that supports a range of HTML elements. See the - * - * beyond the canvas tutorial for a full overview of how this addon works. - * - *

Methods and properties shown in black are part of the p5.js core, items in - * blue are part of the p5.dom library. You will need to include an extra file - * in order to access the blue functions. See the - * using a library - * section for information on how to include this library. p5.dom comes with - * p5 complete or you can download the single file - * - * here.

- *

See tutorial: beyond the canvas - * for more info on how to use this libary. - * - * @module p5.dom - * @submodule p5.dom - * @for p5.dom - * @main - */ - -(function (root, factory) { - if (typeof define === 'function' && define.amd) - define('p5.dom', ['p5'], function (p5) { (factory(p5));}); - else if (typeof exports === 'object') - factory(require('../p5')); - else - factory(root['p5']); -}(this, function (p5) { - -// ============================================================================= -// p5 additions -// ============================================================================= - - /** - * Searches the page for an element with the given ID, class, or tag name (using the '#' or '.' - * prefixes to specify an ID or class respectively, and none for a tag) and returns it as - * a p5.Element. If a class or tag name is given with more than 1 element, - * only the first element will be returned. - * The DOM node itself can be accessed with .elt. - * Returns null if none found. You can also specify a container to search within. - * - * @method select - * @param {String} name id, class, or tag name of element to search for - * @param {String} [container] id, p5.Element, or HTML element to search within - * @return {Object|p5.Element|Null} p5.Element containing node found - * @example - *

- * function setup() { - * createCanvas(100,100); - * //translates canvas 50px down - * select('canvas').position(100, 100); - * } - *
- *
- * // these are all valid calls to select() - * var a = select('#moo'); - * var b = select('#blah', '#myContainer'); - * var c = select('#foo', b); - * var d = document.getElementById('beep'); - * var e = select('p', d); - *
- * - */ - p5.prototype.select = function (e, p) { - var res = null; - var container = getContainer(p); - if (e[0] === '.'){ - e = e.slice(1); - res = container.getElementsByClassName(e); - if (res.length) { - res = res[0]; - } else { - res = null; - } - }else if (e[0] === '#'){ - e = e.slice(1); - res = container.getElementById(e); - }else { - res = container.getElementsByTagName(e); - if (res.length) { - res = res[0]; - } else { - res = null; - } - } - if (res) { - return wrapElement(res); - } else { - return null; - } - }; - - /** - * Searches the page for elements with the given class or tag name (using the '.' prefix - * to specify a class and no prefix for a tag) and returns them as p5.Elements - * in an array. - * The DOM node itself can be accessed with .elt. - * Returns an empty array if none found. - * You can also specify a container to search within. - * - * @method selectAll - * @param {String} name class or tag name of elements to search for - * @param {String} [container] id, p5.Element, or HTML element to search within - * @return {Array} Array of p5.Elements containing nodes found - * @example - *
- * function setup() { - * createButton('btn'); - * createButton('2nd btn'); - * createButton('3rd btn'); - * var buttons = selectAll('button'); - * - * for (var i = 0; i < buttons.length; i++){ - * buttons[i].size(100,100); - * } - * } - *
- *
- * // these are all valid calls to selectAll() - * var a = selectAll('.moo'); - * var b = selectAll('div'); - * var c = selectAll('button', '#myContainer'); - * var d = select('#container'); - * var e = selectAll('p', d); - * var f = document.getElementById('beep'); - * var g = select('.blah', f); - *
- * - */ - p5.prototype.selectAll = function (e, p) { - var arr = []; - var res; - var container = getContainer(p); - if (e[0] === '.'){ - e = e.slice(1); - res = container.getElementsByClassName(e); - } else { - res = container.getElementsByTagName(e); - } - if (res) { - for (var j = 0; j < res.length; j++) { - var obj = wrapElement(res[j]); - arr.push(obj); - } - } - return arr; - }; - - /** - * Helper function for select and selectAll - */ - function getContainer(p) { - var container = document; - if (typeof p === 'string' && p[0] === '#'){ - p = p.slice(1); - container = document.getElementById(p) || document; - } else if (p instanceof p5.Element){ - container = p.elt; - } else if (p instanceof HTMLElement){ - container = p; - } - return container; - } - - /** - * Helper function for getElement and getElements. - */ - function wrapElement(elt) { - if(elt.tagName === "INPUT" && elt.type === "checkbox") { - var converted = new p5.Element(elt); - converted.checked = function(){ - if (arguments.length === 0){ - return this.elt.checked; - } else if(arguments[0]) { - this.elt.checked = true; - } else { - this.elt.checked = false; - } - return this; - }; - return converted; - } else if (elt.tagName === "VIDEO" || elt.tagName === "AUDIO") { - return new p5.MediaElement(elt); - } else if ( elt.tagName === "SELECT" ){ - return createSelect( new p5.Element(elt) ); - } - else { - return new p5.Element(elt); - } - } - - /** - * Removes all elements created by p5, except any canvas / graphics - * elements created by createCanvas or createGraphics. - * Event handlers are removed, and element is removed from the DOM. - * @method removeElements - * @example - *
- * function setup() { - * createCanvas(100, 100); - * createDiv('this is some text'); - * createP('this is a paragraph'); - * } - * function mousePressed() { - * removeElements(); // this will remove the div and p, not canvas - * } - *
- * - */ - p5.prototype.removeElements = function (e) { - for (var i=0; i - * var myDiv; - * function setup() { - * myDiv = createDiv('this is some text'); - * } - * - */ - - /** - * Creates a <p></p> element in the DOM with given inner HTML. Used - * for paragraph length text. - * Appends to the container node if one is specified, otherwise - * appends to body. - * - * @method createP - * @param {String} [html] inner HTML for element created - * @return {Object|p5.Element} pointer to p5.Element holding created node - * @example - *
- * var myP; - * function setup() { - * myP = createP('this is some text'); - * } - *
- */ - - /** - * Creates a <span></span> element in the DOM with given inner HTML. - * Appends to the container node if one is specified, otherwise - * appends to body. - * - * @method createSpan - * @param {String} [html] inner HTML for element created - * @return {Object|p5.Element} pointer to p5.Element holding created node - * @example - *
- * var mySpan; - * function setup() { - * mySpan = createSpan('this is some text'); - * } - *
- */ - var tags = ['div', 'p', 'span']; - tags.forEach(function(tag) { - var method = 'create' + tag.charAt(0).toUpperCase() + tag.slice(1); - p5.prototype[method] = function(html) { - var elt = document.createElement(tag); - elt.innerHTML = typeof html === undefined ? "" : html; - return addElement(elt, this); - } - }); - - /** - * Creates an <img> element in the DOM with given src and - * alternate text. - * Appends to the container node if one is specified, otherwise - * appends to body. - * - * @method createImg - * @param {String} src src path or url for image - * @param {String} [alt] alternate text to be used if image does not load - * @param {Function} [successCallback] callback to be called once image data is loaded - * @return {Object|p5.Element} pointer to p5.Element holding created node - * @example - *
- * var img; - * function setup() { - * img = createImg('http://p5js.org/img/asterisk-01.png'); - * } - *
- */ - p5.prototype.createImg = function() { - var elt = document.createElement('img'); - var args = arguments; - var self; - var setAttrs = function(){ - self.width = elt.offsetWidth || elt.width; - self.height = elt.offsetHeight || elt.height; - if (args.length > 1 && typeof args[1] === 'function'){ - self.fn = args[1]; - self.fn(); - }else if (args.length > 1 && typeof args[2] === 'function'){ - self.fn = args[2]; - self.fn(); - } - }; - elt.src = args[0]; - if (args.length > 1 && typeof args[1] === 'string'){ - elt.alt = args[1]; - } - elt.onload = function(){ - setAttrs(); - } - self = addElement(elt, this); - return self; - }; - - /** - * Creates an <a></a> element in the DOM for including a hyperlink. - * Appends to the container node if one is specified, otherwise - * appends to body. - * - * @method createA - * @param {String} href url of page to link to - * @param {String} html inner html of link element to display - * @param {String} [target] target where new link should open, - * could be _blank, _self, _parent, _top. - * @return {Object|p5.Element} pointer to p5.Element holding created node - * @example - *
- * var myLink; - * function setup() { - * myLink = createA('http://p5js.org/', 'this is a link'); - * } - *
- */ - p5.prototype.createA = function(href, html, target) { - var elt = document.createElement('a'); - elt.href = href; - elt.innerHTML = html; - if (target) elt.target = target; - return addElement(elt, this); - }; - - /** INPUT **/ - - - /** - * Creates a slider <input></input> element in the DOM. - * Use .size() to set the display length of the slider. - * Appends to the container node if one is specified, otherwise - * appends to body. - * - * @method createSlider - * @param {Number} min minimum value of the slider - * @param {Number} max maximum value of the slider - * @param {Number} [value] default value of the slider - * @param {Number} [step] step size for each tick of the slider (if step is set to 0, the slider will move continuously from the minimum to the maximum value) - * @return {Object|p5.Element} pointer to p5.Element holding created node - * @example - *
- * var slider; - * function setup() { - * slider = createSlider(0, 255, 100); - * slider.position(10, 10); - * slider.style('width', '80px'); - * } - * - * function draw() { - * var val = slider.value(); - * background(val); - * } - *
- * - *
- * var slider; - * function setup() { - * colorMode(HSB); - * slider = createSlider(0, 360, 60, 40); - * slider.position(10, 10); - * slider.style('width', '80px'); - * } - * - * function draw() { - * var val = slider.value(); - * background(val, 100, 100, 1); - * } - *
- */ - p5.prototype.createSlider = function(min, max, value, step) { - var elt = document.createElement('input'); - elt.type = 'range'; - elt.min = min; - elt.max = max; - if (step === 0) { - elt.step = .000000000000000001; // smallest valid step - } else if (step) { - elt.step = step; - } - if (typeof(value) === "number") elt.value = value; - return addElement(elt, this); - }; - - /** - * Creates a <button></button> element in the DOM. - * Use .size() to set the display size of the button. - * Use .mousePressed() to specify behavior on press. - * Appends to the container node if one is specified, otherwise - * appends to body. - * - * @method createButton - * @param {String} label label displayed on the button - * @param {String} [value] value of the button - * @return {Object|p5.Element} pointer to p5.Element holding created node - * @example - *
- * var button; - * function setup() { - * createCanvas(100, 100); - * background(0); - * button = createButton('click me'); - * button.position(19, 19); - * button.mousePressed(changeBG); - * } - * - * function changeBG() { - * var val = random(255); - * background(val); - * } - *
- */ - p5.prototype.createButton = function(label, value) { - var elt = document.createElement('button'); - elt.innerHTML = label; - if (value) elt.value = value; - return addElement(elt, this); - }; - - /** - * Creates a checkbox <input></input> element in the DOM. - * Calling .checked() on a checkbox returns if it is checked or not - * - * @method createCheckbox - * @param {String} [label] label displayed after checkbox - * @param {boolean} [value] value of the checkbox; checked is true, unchecked is false.Unchecked if no value given - * @return {Object|p5.Element} pointer to p5.Element holding created node - * @example - *
- * var checkbox; - * - * function setup() { - * checkbox = createCheckbox('label', false); - * checkbox.changed(myCheckedEvent); - * } - * - * function myCheckedEvent() { - * if (this.checked()) { - * console.log("Checking!"); - * } else { - * console.log("Unchecking!"); - * } - * } - *
- */ - p5.prototype.createCheckbox = function() { - var elt = document.createElement('div'); - var checkbox = document.createElement('input'); - checkbox.type = 'checkbox'; - elt.appendChild(checkbox); - //checkbox must be wrapped in p5.Element before label so that label appears after - var self = addElement(elt, this); - self.checked = function(){ - var cb = self.elt.getElementsByTagName('input')[0]; - if (cb) { - if (arguments.length === 0){ - return cb.checked; - }else if(arguments[0]){ - cb.checked = true; - }else{ - cb.checked = false; - } - } - return self; - }; - this.value = function(val){ - self.value = val; - return this; - }; - if (arguments[0]){ - var ran = Math.random().toString(36).slice(2); - var label = document.createElement('label'); - checkbox.setAttribute('id', ran); - label.htmlFor = ran; - self.value(arguments[0]); - label.appendChild(document.createTextNode(arguments[0])); - elt.appendChild(label); - } - if (arguments[1]){ - checkbox.checked = true; - } - return self; - }; - - /** - * Creates a dropdown menu <select></select> element in the DOM. - * It also helps to assign select-box methods to p5.Element when selecting existing select box - * @method createSelect - * @param {boolean} [multiple] true if dropdown should support multiple selections - * @return {p5.Element} - * @example - *
- * var sel; - * - * function setup() { - * textAlign(CENTER); - * background(200); - * sel = createSelect(); - * sel.position(10, 10); - * sel.option('pear'); - * sel.option('kiwi'); - * sel.option('grape'); - * sel.changed(mySelectEvent); - * } - * - * function mySelectEvent() { - * var item = sel.value(); - * background(200); - * text("it's a "+item+"!", 50, 50); - * } - *
- */ - /** - * @method createSelect - * @param {Object} existing DOM select element - * @return {p5.Element} - */ - - p5.prototype.createSelect = function() { - var elt, self; - var arg = arguments[0]; - if( typeof arg === 'object' && arg.elt.nodeName === 'SELECT' ) { - self = arg; - elt = this.elt = arg.elt; - } else { - elt = document.createElement('select'); - if( arg && typeof arg === 'boolean' ) { - elt.setAttribute('multiple', 'true'); - } - self = addElement(elt, this); - } - self.option = function(name, value) { - var index; - //see if there is already an option with this name - for (var i = 0; i < this.elt.length; i++) { - if(this.elt[i].innerHTML == name) { - index = i; - break; - } - } - //if there is an option with this name we will modify it - if(index !== undefined) { - //if the user passed in false then delete that option - if(value === false) { - this.elt.remove(index); - } else { - //otherwise if the name and value are the same then change both - if(this.elt[index].innerHTML == this.elt[index].value) { - this.elt[index].innerHTML = this.elt[index].value = value; - //otherwise just change the value - } else { - this.elt[index].value = value; - } - } - } - //if it doesn't exist make it - else { - var opt = document.createElement('option'); - opt.innerHTML = name; - if (arguments.length > 1) - opt.value = value; - else - opt.value = name; - elt.appendChild(opt); - } - }; - self.selected = function(value) { - var arr = []; - if (arguments.length > 0) { - for (var i = 0; i < this.elt.length; i++) { - if (value.toString() === this.elt[i].value) { - this.elt.selectedIndex = i; - } - } - return this; - } else { - if (this.elt.getAttribute('multiple')) { - for (var i = 0; i < this.elt.selectedOptions.length; i++) { - arr.push(this.elt.selectedOptions[i].value); - } - return arr; - } else { - return this.elt.value; - } - } - }; - return self; - }; - - /** - * Creates a radio button <input></input> element in the DOM. - * The .option() method can be used to set options for the radio after it is - * created. The .value() method will return the currently selected option. - * - * @method createRadio - * @param {String} [divId] the id and name of the created div and input field respectively - * @return {Object|p5.Element} pointer to p5.Element holding created node - * @example - *
- * var radio; - * - * function setup() { - * radio = createRadio(); - * radio.option("black"); - * radio.option("white"); - * radio.option("gray"); - * radio.style('width', '60px'); - * textAlign(CENTER); - * fill(255, 0, 0); - * } - * - * function draw() { - * var val = radio.value(); - * background(val); - * text(val, width/2, height/2); - * } - *
- *
- * var radio; - * - * function setup() { - * radio = createRadio(); - * radio.option('apple', 1); - * radio.option('bread', 2); - * radio.option('juice', 3); - * radio.style('width', '60px'); - * textAlign(CENTER); - * } - * - * function draw() { - * background(200); - * var val = radio.value(); - * if (val) { - * text('item cost is $'+val, width/2, height/2); - * } - * } - *
- */ - p5.prototype.createRadio = function() { - var radios = document.querySelectorAll("input[type=radio]"); - var count = 0; - if(radios.length > 1){ - var length = radios.length; - var prev=radios[0].name; - var current = radios[1].name; - count = 1; - for(var i = 1; i < length; i++) { - current = radios[i].name; - if(prev != current){ - count++; - } - prev = current; - } - } - else if (radios.length == 1){ - count = 1; - } - var elt = document.createElement('div'); - var self = addElement(elt, this); - var times = -1; - self.option = function(name, value){ - var opt = document.createElement('input'); - opt.type = 'radio'; - opt.innerHTML = name; - if (arguments.length > 1) - opt.value = value; - else - opt.value = name; - opt.setAttribute('name',"defaultradio"+count); - elt.appendChild(opt); - if (name){ - times++; - var ran = Math.random().toString(36).slice(2); - var label = document.createElement('label'); - opt.setAttribute('id', "defaultradio"+count+"-"+times); - label.htmlFor = "defaultradio"+count+"-"+times; - label.appendChild(document.createTextNode(name)); - elt.appendChild(label); - } - return opt; - }; - self.selected = function(){ - var length = this.elt.childNodes.length; - if(arguments.length == 1) { - for (var i = 0; i < length; i+=2){ - if(this.elt.childNodes[i].value == arguments[0]) - this.elt.childNodes[i].checked = true; - } - return this; - } else { - for (var i = 0; i < length; i+=2){ - if(this.elt.childNodes[i].checked == true) - return this.elt.childNodes[i].value; - } - } - }; - self.value = function(){ - var length = this.elt.childNodes.length; - if(arguments.length == 1) { - for (var i = 0; i < length; i+=2){ - if(this.elt.childNodes[i].value == arguments[0]) - this.elt.childNodes[i].checked = true; - } - return this; - } else { - for (var i = 0; i < length; i+=2){ - if(this.elt.childNodes[i].checked == true) - return this.elt.childNodes[i].value; - } - return ""; - } - }; - return self - }; - - /** - * Creates an <input></input> element in the DOM for text input. - * Use .size() to set the display length of the box. - * Appends to the container node if one is specified, otherwise - * appends to body. - * - * @method createInput - * @param {Number} [value] default value of the input box - * @param {String} [type] type of text, ie text, password etc. Defaults to text - * @return {Object|p5.Element} pointer to p5.Element holding created node - * @example - *
- * function setup(){ - * var inp = createInput(''); - * inp.input(myInputEvent); - * } - * - * function myInputEvent(){ - * console.log('you are typing: ', this.value()); - * } - * - *
- */ - p5.prototype.createInput = function(value, type) { - var elt = document.createElement('input'); - elt.type = type ? type : 'text'; - if (value) elt.value = value; - return addElement(elt, this); - }; - - /** - * Creates an <input></input> element in the DOM of type 'file'. - * This allows users to select local files for use in a sketch. - * - * @method createFileInput - * @param {Function} [callback] callback function for when a file loaded - * @param {String} [multiple] optional to allow multiple files selected - * @return {Object|p5.Element} pointer to p5.Element holding created DOM element - * @example - * var input; - * var img; - * - * function setup() { - * input = createFileInput(handleFile); - * input.position(0, 0); - * } - * - * function draw() { - * if (img) { - * image(img, 0, 0, width, height); - * } - * } - * - * function handleFile(file) { - * print(file); - * if (file.type === 'image') { - * img = createImg(file.data); - * img.hide(); - * } - * } - */ - p5.prototype.createFileInput = function(callback, multiple) { - - // Is the file stuff supported? - if (window.File && window.FileReader && window.FileList && window.Blob) { - // Yup, we're ok and make an input file selector - var elt = document.createElement('input'); - elt.type = 'file'; - - // If we get a second argument that evaluates to true - // then we are looking for multiple files - if (multiple) { - // Anything gets the job done - elt.multiple = 'multiple'; - } - - // Function to handle when a file is selected - // We're simplifying life and assuming that we always - // want to load every selected file - function handleFileSelect(evt) { - // These are the files - var files = evt.target.files; - // Load each one and trigger a callback - for (var i = 0; i < files.length; i++) { - var f = files[i]; - var reader = new FileReader(); - function makeLoader(theFile) { - // Making a p5.File object - var p5file = new p5.File(theFile); - return function(e) { - p5file.data = e.target.result; - callback(p5file); - }; - }; - reader.onload = makeLoader(f); - - // Text or data? - // This should likely be improved - if (f.type.indexOf('text') > -1) { - reader.readAsText(f); - } else { - reader.readAsDataURL(f); - } - } - } - - // Now let's handle when a file was selected - elt.addEventListener('change', handleFileSelect, false); - return addElement(elt, this); - } else { - console.log('The File APIs are not fully supported in this browser. Cannot create element.'); - } - }; - - - /** VIDEO STUFF **/ - - function createMedia(pInst, type, src, callback) { - var elt = document.createElement(type); - - // allow src to be empty - var src = src || ''; - if (typeof src === 'string') { - src = [src]; - } - for (var i=0; i