123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- <!DOCTYPE html>
- <!-- this file is auto-generated from {{src_file_name}}. Do not edited directly -->
- <!--
- Copyright 2018, Google Inc.
- All rights reserved.
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above
- copyright notice, this list of conditions and the following disclaimer
- in the documentation and/or other materials provided with the
- distribution.
- * Neither the name of Google Inc. nor the names of their
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- -->
- <html lang="{{langInfo.langCode}}">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
- <meta property="og:title" content="{{title}}" />
- <meta property="og:type" content="website" />
- <meta property="og:image" content="https://threejsfundamentals.org/threejs/lessons/resources/threejsfundamentals.jpg" />
- <meta property="og:description" content="{{templateOptions.description}}" />
- <meta property="og:url" content="https://threejsfundamentals.org">
- <meta name="twitter:card" content="summary_large_image">
- <meta name="twitter:site" content="@greggman">
- <meta name="twitter:creator" content="@greggman">
- <meta name="twitter:domain" content="threejsfundamentals.org">
- <meta name="twitter:title" content="threejsfundamentals.org">
- <meta name="twitter:url" content="https://threejsfundamentals.org">
- <meta name="twitter:description" content="{{templateOptions.description}}" />
- <meta name="twitter:image:src" content="https://threejsfundamentals.org/threejs/lessons/resources/threejsfundamentals.jpg">
- <title>{{title}}</title>
- <link rel="alternate" type="application/atom+xml" title="threejs fundamentals" href="https://threejsfundamentals.org/atom.xml" />
- <link href="/threejs/lessons/resources/threejsfundamentals-icon.png" rel="shortcut icon" type="image/png">
- <link rel="apple-touch-icon" href="/threejs/lessons/resources/threejsfundamentals-icon.png">
- <link rel="icon" href="/threejs/lessons/resources/threejsfundamentals-icon.png">
- <link rel="stylesheet" href="/threejs/lessons/resources/lesson.css" type="text/css" />
- <link rel="stylesheet" href="/threejs/lessons/resources/index.css" type="text/css" />
- </head>
- <body>
- <div id="canvas">
- </div>
- <div class="threejs_navbar">
- <div>
- {{{include "build/templates/languages.template"}}}
- </div>
- </div>
- <div class="container">
- <div class="lesson">
- <div class="lesson-main">
- <h1>{{title}} <span class="rss"><a href="http://threejsfundamentals.org/atom.xml"><img src="/threejs/lessons/resources/rss-icon.svg" alt="rss"/></a></span></h1>
- <div class="home-lang">
- {{{include "build/templates/languages.template"}}}
- </div>
- {{{content}}}
- <div>
- flamingo by: <a href="http://mirada.com/">mirada</a> from <a href="https://github.com/dataarts/3-dreams-of-black">3 Dreams of Black</a>
- </div>
- </div>
- </div>
- </div>
- <iframe class="background" src="/threejs/background.html"></iframe>
- <style>
- #forkongithub a {
- background: #000;
- color: #fff;
- text-decoration: none;
- font-family: arial,sans-serif;
- text-align: center;
- font-weight: bold;
- padding: 5px 40px;
- font-size: 0.9rem;
- line-height: 2rem;
- position: relative;
- transition: 0.5s;
- display: block;
- width: 300px;
- position: absolute;
- top: 0;
- right: 0;
- transform: translateX(150px) rotate(45deg) translate(10px,70px);
- box-shadow: 4px 4px 10px rgba(0,0,0,0.8);
- pointer-events: auto;
- }
- #forkongithub a:hover {
- background: #c11;
- color: #fff;
- }
- #forkongithub a::before,#forkongithub a::after {
- content: "";
- width: 100%;
- display: block;
- position: absolute;
- top: 1px;
- left: 0;
- height: 1px;
- background: #fff;
- }
- #forkongithub a::after {
- bottom: 1px;
- top: auto;
- }
- #forkongithub{
- z-index: 9999;
- /* needed for firefox */
- overflow: hidden;
- width: 300px;
- height: 300px;
- position: absolute;
- right: 0;
- top: 0;
- pointer-events: none;
- }}
- @media (max-width: 900px) {
- #forkongithub a{
- line-height: 1.2rem;
- }
- }
- @media (max-width: 410px) {
- #forkongithub a{
- font-size: 0.7rem;
- transform: translateX(150px) rotate(45deg) translate(20px,40px);
- }
- }
- </style>
- <div id="forkongithub"><a href="https://github.com/greggman/threejsfundamentals">Fix or Fork me on GitHub</a></div>
- </body>
- <script src="/3rdparty/jquery-3.3.1.slim.min.js"></script>
- <script src="/threejs/lessons/resources/lesson.js"></script>
- {{{include "build/templates/analytics.template" }}}
- </html>
|