Skip to content

Instantly share code, notes, and snippets.

@henryamster
Last active November 14, 2018 07:50
Show Gist options
  • Save henryamster/4774a1b71d11daa4e1932dcdcb567c40 to your computer and use it in GitHub Desktop.
Save henryamster/4774a1b71d11daa4e1932dcdcb567c40 to your computer and use it in GitHub Desktop.
HFXYZ Redesign
<div class="main">
<nav class="navbar">
<div class="navbar-brand">
<a id="brand" class="navbar-item" >
Henry Fritz Design & Development
</a>
<div class="navbar-burger burger" onclick="document.querySelector('.navbar-menu').classList.toggle('is-active');">
<span></span>
<span></span>
<span></span>
</div>
</div>
<div class="navbar-menu">
<div class="navbar-end">
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-item" href="https://github.com/henryamster">Github</a>
<a class="navbar-item" href="https://www.instagram.com/henryamster/">Instagram</a>
<a class="navbar-item" href="https://www.facebook.com/babytgifridays/">Music</a>
</div>
</div>
</div>
</nav>
<div class="columns">
<div class="column">
<h1 class="has-text-centered shad" id="call"> Henry Fritz </h1>
<h3 class="has-text-centered shad is-size-2 os t">Design & Development</h3>
</div>
</div>
<div class="column animated-bg">
<div class="column is-half is-offset-one-quarter has-text-white os">
<h2 class="is-size-3 shad"><a href="https://wordpress.org/" class="linkshad">Wordpress</a> based Web Design & Development. Graphic Design. 3D Motion Graphics. Generative Art. Systems Design. Data Analytics.</h2>
</div>
</div>
<div class="column has-background-grey has-text-white os shad is-offset-half tl">
<h2 class="is-size-3">Web Design</h2>
</div>
<div class="columns level has-background-light">
<div class="b column level-item is-offset-2">
<p>
<a href="https://hfhmcc.org/">
<div class="habitat">
<img src="https://hfhmcc.org/wp-content/uploads/2018/08/HabitatMadisonClarkLogo.png" alt="logo for Habit for Humanity"> </div>
</a>
<strong>Latest Project:</strong>
<a href="https://hfhmcc.org/">
<h4 class="minion">Habitat for Humanity of Madison & Clark Counties</h4>
</a>
</div>
</a>
</p>
<div class="column level-item">
<ul>
<li><strong>Project start date:</strong> June 2018</li>
<li><strong> Launch date:</strong> September 2018</li>
<li>Built with Wordpress and a custom theme based off of Underscores and Bulmapress.</li>
<li><strong>Technologies used:</strong> HTML, SCSS, Javascript, PHP, SQL</li>
</ul>
</em>
</div>
<div class="column is-2"></div>
</div>
<div class="columns">
<div class=" tl column has-background-light has-text-centered ">
<a href="https://github.com/henryamster">
<svg id="gh" height="32" class="octicon octicon-mark-github" viewBox="0 0 16 16" version="1.1" width="32" aria-hidden="true"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg>
<p>View my github profile</p>
</a>
<hr>
</div>
</div>
</div>
<div class="columns">
<div class="column has-text-white os shad is-offset-half tl">
<h2 class="is-size-3 t">Generative Art</h2>
</div>
</div>
<div class="column " id="container"></div>
<div class="column has-background-primary has-text-white os shad is-offset-half tl">
<h2 class="is-size-3">Graphic Design</h2>
</div>
<div class="columns level has-background-light">
<div class="column level-item is-offset-2">
<ul>
<li><strong>Campaign Logo</strong></li>
<li><strong>Tyler Frazier for County Attorney</strong> Logo, Poster, and other design work.</li>
</ul>
</div>
<div class="column is-6 level-item">
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1152 648" style="enable-background:new 0 0 1152 648;" xml:space="preserve">
<style type="text/css">
.st0{fill:#002052;}
.st1{fill:#F2F2F2;}
.st2{fill:#F2F2F2;stroke:#002052;stroke-miterlimit:10;}
.st3{font-family:'Oswald';}
.st4{font-size:93.8324px; }
.st5{letter-spacing:2;}
.st6{fill:none;}
.st7{fill:#4CBB17;}
.st8{font-size:41.135px;}
.st9{letter-spacing:3;}
</style>
<rect x="5" y="3" class="st0" width="1143" height="640"/>
<g>
<g>
<path class="st1" d="M462.3,92.9L462.3,92.9h108.6v25h-30.7v80.6h-31.5v-80.6l-72.4,1.2"/>
<path class="st1" d="M686.7,92.9l-38,72.2v33.5h-31.3v-32.9l-38.7-72.8H610l25.5,43.1l22.5-43.1H686.7z"/>
<path class="st1" d="M696.9,92.9h31.3v79.4h44.3v26.2h-75.6V92.9z"/>
<path class="st1" d="M783.4,92.9h86.4V117h-55v16.6h49.9v24.1h-49.9v16.7h56.5v24.1h-87.9V92.9z"/>
<path class="st1" d="M941.5,198.5l-14-28.5h-16.6v28.5h-31.3V92.9h49.3c14.2,0,25.1,3.3,32.9,9.8c7.8,6.5,11.7,15.8,11.7,27.7
c0,7.7-1.5,14.4-4.6,20.1c-3.1,5.7-7.5,10.2-13.2,13.5l21.4,34.5H941.5z M910.9,145.9h17.9c4.7,0,8.4-1.2,10.9-3.8
c2.6-2.5,3.8-6.1,3.8-10.8c0-4.6-1.3-8.2-3.8-10.6c-2.6-2.5-6.2-3.7-10.9-3.7h-17.9V145.9z"/>
</g>
<path class="st1" d="M110.2,206.5H223v33.2h-69.7v29H218v33.2h-64.7v108.9l-43.1,42V206.5z"/>
<path class="st1" d="M327.2,351.9l-19.3-39.2h-22.8v39.2h-43.1V206.5h67.8c19.5,0,34.6,4.5,45.3,13.5c10.7,9,16.1,21.7,16.1,38.2
c0,10.7-2.1,19.9-6.3,27.7c-4.2,7.8-10.3,14-18.2,18.6l29.5,47.5H327.2z M285.1,279.5h24.7c6.5,0,11.5-1.7,15-5.2
c3.5-3.5,5.3-8.4,5.3-14.9c0-6.4-1.8-11.2-5.3-14.6c-3.5-3.4-8.5-5.1-15-5.1h-24.7V279.5z"/>
<path class="st1" d="M431.5,328.6l-8.7,23.2h-44.4l62-145.4h44.4l60,145.4h-46.1l-8.5-23.2 M478.8,297.1l-17.4-47.5l-17.8,47.5"/>
<path class="st1" d="M550.6,206.5h127.2v27.4l-72.2,84.4h73.6v33.6H548.1v-27.2l72.2-84.6h-69.7V206.5z"/>
<path class="st1" d="M696.2,206.5h43.2v145.4h-43.2V206.5z"/>
<path class="st1" d="M753.2,206.5h117.3v33.2h-66.9v22.8h60.7v33.2h-60.7v23h68.8v33.2H753.2V206.5z"/>
<path class="st2" d="M963.8,351.9l-19.3-39.2h-22.8v39.2h-43.2V206.5h67.8c19.5,0,34.6,4.5,45.3,13.5c10.7,9,16.1,21.7,16.1,38.2
c0,10.7-2.1,19.9-6.3,27.7c-4.2,7.8-10.3,14-18.1,18.6l29.5,47.5h-9.7h-13.7h-9.4H963.8z M921.7,279.5h24.7c6.5,0,11.5-1.7,15-5.2
c3.5-3.5,5.3-8.4,5.3-14.9c0-6.4-1.8-11.2-5.3-14.6c-3.5-3.4-8.5-5.1-15-5.1h-24.7V279.5z"/>
<text transform="matrix(1 0 0 1 253.8062 497.6123)" class="st1 st3 st4 st5">COUNTY ATTORNEY</text>
<line class="st6" x1="969.8" y1="405" x2="1013" y2="363"/>
<g>
<line class="st7" x1="171" y1="375" x2="1009" y2="375"/>
<polygon class="st7" points="1004.6,381 171,381 171,367 1013.9,367 "/>
</g>
<g>
<line class="st7" x1="171" y1="404" x2="972" y2="404"/>
<polygon class="st7" points="975.4,411.2 171,406.4 171,402 980.5,404 "/>
</g>
<g>
<line class="st7" x1="171" y1="390" x2="986" y2="390"/>
<polygon class="st7" points="984.7,396 171,396 171,390 990,390 "/>
</g>
</g>
</svg>
<div class="columns">
<div class="column has-background-warning has-text-white os shad tl mt">
<h2 class="is-size-3 ">3D Modeling</h2>
</div>
</div>
</div>
</div>
<div class="columns">
<div class="column is-offset-1">
<blockquote class="instagram-media" data-instgrm-captioned data-instgrm-permalink="https://www.instagram.com/p/BpdxcfdnJxD/?utm_source=ig_embed&amp;utm_medium=loading" data-instgrm-version="12" style=" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:540px; min-width:326px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);">
<div style="padding:16px;">
<a href="https://www.instagram.com/p/BpdxcfdnJxD/?utm_source=ig_embed&amp;utm_medium=loading" style=" background:#FFFFFF; line-height:0; padding:0 0; text-align:center; text-decoration:none; width:100%;" target="_blank">
<div style=" display: flex; flex-direction: row; align-items: center;">
<div style="background-color: #F4F4F4; border-radius: 50%; flex-grow: 0; height: 40px; margin-right: 14px; width: 40px;"></div>
<div style="display: flex; flex-direction: column; flex-grow: 1; justify-content: center;">
<div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; margin-bottom: 6px; width: 100px;"></div>
<div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; width: 60px;"></div>
</div>
</div>
<div style="padding: 19% 0;"></div>
<div style="display:block; height:50px; margin:0 auto 12px; width:50px;"><svg width="50px" height="50px" viewBox="0 0 60 60" version="1.1" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-511.000000, -20.000000)" fill="#000000"><g><path d="M556.869,30.41 C554.814,30.41 553.148,32.076 553.148,34.131 C553.148,36.186 554.814,37.852 556.869,37.852 C558.924,37.852 560.59,36.186 560.59,34.131 C560.59,32.076 558.924,30.41 556.869,30.41 M541,60.657 C535.114,60.657 530.342,55.887 530.342,50 C530.342,44.114 535.114,39.342 541,39.342 C546.887,39.342 551.658,44.114 551.658,50 C551.658,55.887 546.887,60.657 541,60.657 M541,33.886 C532.1,33.886 524.886,41.1 524.886,50 C524.886,58.899 532.1,66.113 541,66.113 C549.9,66.113 557.115,58.899 557.115,50 C557.115,41.1 549.9,33.886 541,33.886 M565.378,62.101 C565.244,65.022 564.756,66.606 564.346,67.663 C563.803,69.06 563.154,70.057 562.106,71.106 C561.058,72.155 560.06,72.803 558.662,73.347 C557.607,73.757 556.021,74.244 553.102,74.378 C549.944,74.521 548.997,74.552 541,74.552 C533.003,74.552 532.056,74.521 528.898,74.378 C525.979,74.244 524.393,73.757 523.338,73.347 C521.94,72.803 520.942,72.155 519.894,71.106 C518.846,70.057 518.197,69.06 517.654,67.663 C517.244,66.606 516.755,65.022 516.623,62.101 C516.479,58.943 516.448,57.996 516.448,50 C516.448,42.003 516.479,41.056 516.623,37.899 C516.755,34.978 517.244,33.391 517.654,32.338 C518.197,30.938 518.846,29.942 519.894,28.894 C520.942,27.846 521.94,27.196 523.338,26.654 C524.393,26.244 525.979,25.756 528.898,25.623 C532.057,25.479 533.004,25.448 541,25.448 C548.997,25.448 549.943,25.479 553.102,25.623 C556.021,25.756 557.607,26.244 558.662,26.654 C560.06,27.196 561.058,27.846 562.106,28.894 C563.154,29.942 563.803,30.938 564.346,32.338 C564.756,33.391 565.244,34.978 565.378,37.899 C565.522,41.056 565.552,42.003 565.552,50 C565.552,57.996 565.522,58.943 565.378,62.101 M570.82,37.631 C570.674,34.438 570.167,32.258 569.425,30.349 C568.659,28.377 567.633,26.702 565.965,25.035 C564.297,23.368 562.623,22.342 560.652,21.575 C558.743,20.834 556.562,20.326 553.369,20.18 C550.169,20.033 549.148,20 541,20 C532.853,20 531.831,20.033 528.631,20.18 C525.438,20.326 523.257,20.834 521.349,21.575 C519.376,22.342 517.703,23.368 516.035,25.035 C514.368,26.702 513.342,28.377 512.574,30.349 C511.834,32.258 511.326,34.438 511.181,37.631 C511.035,40.831 511,41.851 511,50 C511,58.147 511.035,59.17 511.181,62.369 C511.326,65.562 511.834,67.743 512.574,69.651 C513.342,71.625 514.368,73.296 516.035,74.965 C517.703,76.634 519.376,77.658 521.349,78.425 C523.257,79.167 525.438,79.673 528.631,79.82 C531.831,79.965 532.853,80.001 541,80.001 C549.148,80.001 550.169,79.965 553.369,79.82 C556.562,79.673 558.743,79.167 560.652,78.425 C562.623,77.658 564.297,76.634 565.965,74.965 C567.633,73.296 568.659,71.625 569.425,69.651 C570.167,67.743 570.674,65.562 570.82,62.369 C570.966,59.17 571,58.147 571,50 C571,41.851 570.966,40.831 570.82,37.631"></path></g></g></g></svg></div>
<div
style="padding-top: 8px;">
<div style=" color:#3897f0; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:550; line-height:18px;"> View this post on Instagram</div>
</div>
<div style="padding: 12.5% 0;"></div>
<div style="display: flex; flex-direction: row; margin-bottom: 14px; align-items: center;">
<div>
<div style="background-color: #F4F4F4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(0px) translateY(7px);"></div>
<div style="background-color: #F4F4F4; height: 12.5px; transform: rotate(-45deg) translateX(3px) translateY(1px); width: 12.5px; flex-grow: 0; margin-right: 14px; margin-left: 2px;"></div>
<div style="background-color: #F4F4F4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(9px) translateY(-18px);"></div>
</div>
<div style="margin-left: 8px;">
<div style=" background-color: #F4F4F4; border-radius: 50%; flex-grow: 0; height: 20px; width: 20px;"></div>
<div style=" width: 0; height: 0; border-top: 2px solid transparent; border-left: 6px solid #f4f4f4; border-bottom: 2px solid transparent; transform: translateX(16px) translateY(-4px) rotate(30deg)"></div>
</div>
<div style="margin-left: auto;">
<div style=" width: 0px; border-top: 8px solid #F4F4F4; border-right: 8px solid transparent; transform: translateY(16px);"></div>
<div style=" background-color: #F4F4F4; flex-grow: 0; height: 12px; width: 16px; transform: translateY(-4px);"></div>
<div style=" width: 0; height: 0; border-top: 8px solid #F4F4F4; border-left: 8px solid transparent; transform: translateY(-4px) translateX(8px);"></div>
</div>
</div>
</a>
<p style=" margin:8px 0 0 0; padding:0 4px;"> <a href="https://www.instagram.com/p/BpdxcfdnJxD/?utm_source=ig_embed&amp;utm_medium=loading" style=" color:#000; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:normal; line-height:17px; text-decoration:none; word-wrap:break-word;"
target="_blank">😎😎 #blender #pedalsteel</a></p>
<p style=" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; line-height:17px; margin-bottom:0; margin-top:8px; overflow:hidden; padding:8px 0 7px; text-align:center; text-overflow:ellipsis; white-space:nowrap;">A post shared by <a href="https://www.instagram.com/henryamster/?utm_source=ig_embed&amp;utm_medium=loading" style=" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:normal; line-height:17px;" target="_blank"> henryamster</a> (@henryamster) on <time style=" font-family:Arial,sans-serif; font-size:14px; line-height:17px;" datetime="2018-10-28T05:33:26+00:00">Oct 27, 2018 at 10:33pm PDT</time></p>
</div>
</blockquote>
<script async src="//www.instagram.com/embed.js"></script>
</div>
<div class="column">
<blockquote class="instagram-media" data-instgrm-permalink="https://www.instagram.com/p/Bn9X7NcHrAz/?utm_source=ig_embed&amp;utm_medium=loading" data-instgrm-version="12" style=" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:540px; min-width:326px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);">
<div style="padding:16px;">
<a href="https://www.instagram.com/p/Bn9X7NcHrAz/?utm_source=ig_embed&amp;utm_medium=loading" style=" background:#FFFFFF; line-height:0; padding:0 0; text-align:center; text-decoration:none; width:100%;" target="_blank">
<div style=" display: flex; flex-direction: row; align-items: center;">
<div style="background-color: #F4F4F4; border-radius: 50%; flex-grow: 0; height: 40px; margin-right: 14px; width: 40px;"></div>
<div style="display: flex; flex-direction: column; flex-grow: 1; justify-content: center;">
<div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; margin-bottom: 6px; width: 100px;"></div>
<div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; width: 60px;"></div>
</div>
</div>
<div style="padding: 19% 0;"></div>
<div style="display:block; height:50px; margin:0 auto 12px; width:50px;"><svg width="50px" height="50px" viewBox="0 0 60 60" version="1.1" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-511.000000, -20.000000)" fill="#000000"><g><path d="M556.869,30.41 C554.814,30.41 553.148,32.076 553.148,34.131 C553.148,36.186 554.814,37.852 556.869,37.852 C558.924,37.852 560.59,36.186 560.59,34.131 C560.59,32.076 558.924,30.41 556.869,30.41 M541,60.657 C535.114,60.657 530.342,55.887 530.342,50 C530.342,44.114 535.114,39.342 541,39.342 C546.887,39.342 551.658,44.114 551.658,50 C551.658,55.887 546.887,60.657 541,60.657 M541,33.886 C532.1,33.886 524.886,41.1 524.886,50 C524.886,58.899 532.1,66.113 541,66.113 C549.9,66.113 557.115,58.899 557.115,50 C557.115,41.1 549.9,33.886 541,33.886 M565.378,62.101 C565.244,65.022 564.756,66.606 564.346,67.663 C563.803,69.06 563.154,70.057 562.106,71.106 C561.058,72.155 560.06,72.803 558.662,73.347 C557.607,73.757 556.021,74.244 553.102,74.378 C549.944,74.521 548.997,74.552 541,74.552 C533.003,74.552 532.056,74.521 528.898,74.378 C525.979,74.244 524.393,73.757 523.338,73.347 C521.94,72.803 520.942,72.155 519.894,71.106 C518.846,70.057 518.197,69.06 517.654,67.663 C517.244,66.606 516.755,65.022 516.623,62.101 C516.479,58.943 516.448,57.996 516.448,50 C516.448,42.003 516.479,41.056 516.623,37.899 C516.755,34.978 517.244,33.391 517.654,32.338 C518.197,30.938 518.846,29.942 519.894,28.894 C520.942,27.846 521.94,27.196 523.338,26.654 C524.393,26.244 525.979,25.756 528.898,25.623 C532.057,25.479 533.004,25.448 541,25.448 C548.997,25.448 549.943,25.479 553.102,25.623 C556.021,25.756 557.607,26.244 558.662,26.654 C560.06,27.196 561.058,27.846 562.106,28.894 C563.154,29.942 563.803,30.938 564.346,32.338 C564.756,33.391 565.244,34.978 565.378,37.899 C565.522,41.056 565.552,42.003 565.552,50 C565.552,57.996 565.522,58.943 565.378,62.101 M570.82,37.631 C570.674,34.438 570.167,32.258 569.425,30.349 C568.659,28.377 567.633,26.702 565.965,25.035 C564.297,23.368 562.623,22.342 560.652,21.575 C558.743,20.834 556.562,20.326 553.369,20.18 C550.169,20.033 549.148,20 541,20 C532.853,20 531.831,20.033 528.631,20.18 C525.438,20.326 523.257,20.834 521.349,21.575 C519.376,22.342 517.703,23.368 516.035,25.035 C514.368,26.702 513.342,28.377 512.574,30.349 C511.834,32.258 511.326,34.438 511.181,37.631 C511.035,40.831 511,41.851 511,50 C511,58.147 511.035,59.17 511.181,62.369 C511.326,65.562 511.834,67.743 512.574,69.651 C513.342,71.625 514.368,73.296 516.035,74.965 C517.703,76.634 519.376,77.658 521.349,78.425 C523.257,79.167 525.438,79.673 528.631,79.82 C531.831,79.965 532.853,80.001 541,80.001 C549.148,80.001 550.169,79.965 553.369,79.82 C556.562,79.673 558.743,79.167 560.652,78.425 C562.623,77.658 564.297,76.634 565.965,74.965 C567.633,73.296 568.659,71.625 569.425,69.651 C570.167,67.743 570.674,65.562 570.82,62.369 C570.966,59.17 571,58.147 571,50 C571,41.851 570.966,40.831 570.82,37.631"></path></g></g></g></svg></div>
<div
style="padding-top: 8px;">
<div style=" color:#3897f0; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:550; line-height:18px;"> View this post on Instagram</div>
</div>
<div style="padding: 12.5% 0;"></div>
<div style="display: flex; flex-direction: row; margin-bottom: 14px; align-items: center;">
<div>
<div style="background-color: #F4F4F4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(0px) translateY(7px);"></div>
<div style="background-color: #F4F4F4; height: 12.5px; transform: rotate(-45deg) translateX(3px) translateY(1px); width: 12.5px; flex-grow: 0; margin-right: 14px; margin-left: 2px;"></div>
<div style="background-color: #F4F4F4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(9px) translateY(-18px);"></div>
</div>
<div style="margin-left: 8px;">
<div style=" background-color: #F4F4F4; border-radius: 50%; flex-grow: 0; height: 20px; width: 20px;"></div>
<div style=" width: 0; height: 0; border-top: 2px solid transparent; border-left: 6px solid #f4f4f4; border-bottom: 2px solid transparent; transform: translateX(16px) translateY(-4px) rotate(30deg)"></div>
</div>
<div style="margin-left: auto;">
<div style=" width: 0px; border-top: 8px solid #F4F4F4; border-right: 8px solid transparent; transform: translateY(16px);"></div>
<div style=" background-color: #F4F4F4; flex-grow: 0; height: 12px; width: 16px; transform: translateY(-4px);"></div>
<div style=" width: 0; height: 0; border-top: 8px solid #F4F4F4; border-left: 8px solid transparent; transform: translateY(-4px) translateX(8px);"></div>
</div>
</div>
<div style="display: flex; flex-direction: column; flex-grow: 1; justify-content: center; margin-bottom: 24px;">
<div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; margin-bottom: 6px; width: 224px;"></div>
<div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; width: 144px;"></div>
</div>
</a>
<p style=" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; line-height:17px; margin-bottom:0; margin-top:8px; overflow:hidden; padding:8px 0 7px; text-align:center; text-overflow:ellipsis; white-space:nowrap;"><a href="https://www.instagram.com/p/Bn9X7NcHrAz/?utm_source=ig_embed&amp;utm_medium=loading" style=" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:normal; line-height:17px; text-decoration:none;" target="_blank">A post shared by henryamster (@henryamster)</a> on <time style=" font-family:Arial,sans-serif; font-size:14px; line-height:17px;" datetime="2018-09-20T19:03:21+00:00">Sep 20, 2018 at 12:03pm PDT</time></p>
</div>
</blockquote>
<script async src="//www.instagram.com/embed.js"></script>
</div>
<div class="columns is-1"></div>
</div>
<div class="column has-background-danger has-text-white os shad is-offset-half tl">
<h2 class="is-size-3">3D Motion Graphics</h2>
</div>
<div class="columns has-background-light">
<div class="column is-offset-1">
<blockquote class="instagram-media" data-instgrm-captioned data-instgrm-permalink="https://www.instagram.com/p/BnbLCDonNgh/?utm_source=ig_embed&amp;utm_medium=loading" data-instgrm-version="12" style=" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:540px; min-width:326px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);">
<div style="padding:16px;">
<a href="https://www.instagram.com/p/BnbLCDonNgh/?utm_source=ig_embed&amp;utm_medium=loading" style=" background:#FFFFFF; line-height:0; padding:0 0; text-align:center; text-decoration:none; width:100%;" target="_blank">
<div style=" display: flex; flex-direction: row; align-items: center;">
<div style="background-color: #F4F4F4; border-radius: 50%; flex-grow: 0; height: 40px; margin-right: 14px; width: 40px;"></div>
<div style="display: flex; flex-direction: column; flex-grow: 1; justify-content: center;">
<div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; margin-bottom: 6px; width: 100px;"></div>
<div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; width: 60px;"></div>
</div>
</div>
<div style="padding: 19% 0;"></div>
<div style="display:block; height:50px; margin:0 auto 12px; width:50px;"><svg width="50px" height="50px" viewBox="0 0 60 60" version="1.1" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-511.000000, -20.000000)" fill="#000000"><g><path d="M556.869,30.41 C554.814,30.41 553.148,32.076 553.148,34.131 C553.148,36.186 554.814,37.852 556.869,37.852 C558.924,37.852 560.59,36.186 560.59,34.131 C560.59,32.076 558.924,30.41 556.869,30.41 M541,60.657 C535.114,60.657 530.342,55.887 530.342,50 C530.342,44.114 535.114,39.342 541,39.342 C546.887,39.342 551.658,44.114 551.658,50 C551.658,55.887 546.887,60.657 541,60.657 M541,33.886 C532.1,33.886 524.886,41.1 524.886,50 C524.886,58.899 532.1,66.113 541,66.113 C549.9,66.113 557.115,58.899 557.115,50 C557.115,41.1 549.9,33.886 541,33.886 M565.378,62.101 C565.244,65.022 564.756,66.606 564.346,67.663 C563.803,69.06 563.154,70.057 562.106,71.106 C561.058,72.155 560.06,72.803 558.662,73.347 C557.607,73.757 556.021,74.244 553.102,74.378 C549.944,74.521 548.997,74.552 541,74.552 C533.003,74.552 532.056,74.521 528.898,74.378 C525.979,74.244 524.393,73.757 523.338,73.347 C521.94,72.803 520.942,72.155 519.894,71.106 C518.846,70.057 518.197,69.06 517.654,67.663 C517.244,66.606 516.755,65.022 516.623,62.101 C516.479,58.943 516.448,57.996 516.448,50 C516.448,42.003 516.479,41.056 516.623,37.899 C516.755,34.978 517.244,33.391 517.654,32.338 C518.197,30.938 518.846,29.942 519.894,28.894 C520.942,27.846 521.94,27.196 523.338,26.654 C524.393,26.244 525.979,25.756 528.898,25.623 C532.057,25.479 533.004,25.448 541,25.448 C548.997,25.448 549.943,25.479 553.102,25.623 C556.021,25.756 557.607,26.244 558.662,26.654 C560.06,27.196 561.058,27.846 562.106,28.894 C563.154,29.942 563.803,30.938 564.346,32.338 C564.756,33.391 565.244,34.978 565.378,37.899 C565.522,41.056 565.552,42.003 565.552,50 C565.552,57.996 565.522,58.943 565.378,62.101 M570.82,37.631 C570.674,34.438 570.167,32.258 569.425,30.349 C568.659,28.377 567.633,26.702 565.965,25.035 C564.297,23.368 562.623,22.342 560.652,21.575 C558.743,20.834 556.562,20.326 553.369,20.18 C550.169,20.033 549.148,20 541,20 C532.853,20 531.831,20.033 528.631,20.18 C525.438,20.326 523.257,20.834 521.349,21.575 C519.376,22.342 517.703,23.368 516.035,25.035 C514.368,26.702 513.342,28.377 512.574,30.349 C511.834,32.258 511.326,34.438 511.181,37.631 C511.035,40.831 511,41.851 511,50 C511,58.147 511.035,59.17 511.181,62.369 C511.326,65.562 511.834,67.743 512.574,69.651 C513.342,71.625 514.368,73.296 516.035,74.965 C517.703,76.634 519.376,77.658 521.349,78.425 C523.257,79.167 525.438,79.673 528.631,79.82 C531.831,79.965 532.853,80.001 541,80.001 C549.148,80.001 550.169,79.965 553.369,79.82 C556.562,79.673 558.743,79.167 560.652,78.425 C562.623,77.658 564.297,76.634 565.965,74.965 C567.633,73.296 568.659,71.625 569.425,69.651 C570.167,67.743 570.674,65.562 570.82,62.369 C570.966,59.17 571,58.147 571,50 C571,41.851 570.966,40.831 570.82,37.631"></path></g></g></g></svg></div>
<div
style="padding-top: 8px;">
<div style=" color:#3897f0; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:550; line-height:18px;"> View this post on Instagram</div>
</div>
<div style="padding: 12.5% 0;"></div>
<div style="display: flex; flex-direction: row; margin-bottom: 14px; align-items: center;">
<div>
<div style="background-color: #F4F4F4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(0px) translateY(7px);"></div>
<div style="background-color: #F4F4F4; height: 12.5px; transform: rotate(-45deg) translateX(3px) translateY(1px); width: 12.5px; flex-grow: 0; margin-right: 14px; margin-left: 2px;"></div>
<div style="background-color: #F4F4F4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(9px) translateY(-18px);"></div>
</div>
<div style="margin-left: 8px;">
<div style=" background-color: #F4F4F4; border-radius: 50%; flex-grow: 0; height: 20px; width: 20px;"></div>
<div style=" width: 0; height: 0; border-top: 2px solid transparent; border-left: 6px solid #f4f4f4; border-bottom: 2px solid transparent; transform: translateX(16px) translateY(-4px) rotate(30deg)"></div>
</div>
<div style="margin-left: auto;">
<div style=" width: 0px; border-top: 8px solid #F4F4F4; border-right: 8px solid transparent; transform: translateY(16px);"></div>
<div style=" background-color: #F4F4F4; flex-grow: 0; height: 12px; width: 16px; transform: translateY(-4px);"></div>
<div style=" width: 0; height: 0; border-top: 8px solid #F4F4F4; border-left: 8px solid transparent; transform: translateY(-4px) translateX(8px);"></div>
</div>
</div>
</a>
<p style=" margin:8px 0 0 0; padding:0 4px;"> <a href="https://www.instagram.com/p/BnbLCDonNgh/?utm_source=ig_embed&amp;utm_medium=loading" style=" color:#000; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:normal; line-height:17px; text-decoration:none; word-wrap:break-word;"
target="_blank">#blender #3d #sverchok</a></p>
<p style=" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; line-height:17px; margin-bottom:0; margin-top:8px; overflow:hidden; padding:8px 0 7px; text-align:center; text-overflow:ellipsis; white-space:nowrap;">A post shared by <a href="https://www.instagram.com/henryamster/?utm_source=ig_embed&amp;utm_medium=loading" style=" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:normal; line-height:17px;" target="_blank"> henryamster</a> (@henryamster) on <time style=" font-family:Arial,sans-serif; font-size:14px; line-height:17px;" datetime="2018-09-07T12:16:51+00:00">Sep 7, 2018 at 5:16am PDT</time></p>
</div>
</blockquote>
<script async src="//www.instagram.com/embed.js"></script>
</div>
<div class="column">
<blockquote class="instagram-media" data-instgrm-permalink="https://www.instagram.com/p/Bm3fr8mHMbR/?utm_source=ig_embed&amp;utm_medium=loading" data-instgrm-version="12" style=" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:540px; min-width:326px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);">
<div style="padding:16px;">
<a href="https://www.instagram.com/p/Bm3fr8mHMbR/?utm_source=ig_embed&amp;utm_medium=loading" style=" background:#FFFFFF; line-height:0; padding:0 0; text-align:center; text-decoration:none; width:100%;" target="_blank">
<div style=" display: flex; flex-direction: row; align-items: center;">
<div style="background-color: #F4F4F4; border-radius: 50%; flex-grow: 0; height: 40px; margin-right: 14px; width: 40px;"></div>
<div style="display: flex; flex-direction: column; flex-grow: 1; justify-content: center;">
<div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; margin-bottom: 6px; width: 100px;"></div>
<div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; width: 60px;"></div>
</div>
</div>
<div style="padding: 19% 0;"></div>
<div style="display:block; height:50px; margin:0 auto 12px; width:50px;"><svg width="50px" height="50px" viewBox="0 0 60 60" version="1.1" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-511.000000, -20.000000)" fill="#000000"><g><path d="M556.869,30.41 C554.814,30.41 553.148,32.076 553.148,34.131 C553.148,36.186 554.814,37.852 556.869,37.852 C558.924,37.852 560.59,36.186 560.59,34.131 C560.59,32.076 558.924,30.41 556.869,30.41 M541,60.657 C535.114,60.657 530.342,55.887 530.342,50 C530.342,44.114 535.114,39.342 541,39.342 C546.887,39.342 551.658,44.114 551.658,50 C551.658,55.887 546.887,60.657 541,60.657 M541,33.886 C532.1,33.886 524.886,41.1 524.886,50 C524.886,58.899 532.1,66.113 541,66.113 C549.9,66.113 557.115,58.899 557.115,50 C557.115,41.1 549.9,33.886 541,33.886 M565.378,62.101 C565.244,65.022 564.756,66.606 564.346,67.663 C563.803,69.06 563.154,70.057 562.106,71.106 C561.058,72.155 560.06,72.803 558.662,73.347 C557.607,73.757 556.021,74.244 553.102,74.378 C549.944,74.521 548.997,74.552 541,74.552 C533.003,74.552 532.056,74.521 528.898,74.378 C525.979,74.244 524.393,73.757 523.338,73.347 C521.94,72.803 520.942,72.155 519.894,71.106 C518.846,70.057 518.197,69.06 517.654,67.663 C517.244,66.606 516.755,65.022 516.623,62.101 C516.479,58.943 516.448,57.996 516.448,50 C516.448,42.003 516.479,41.056 516.623,37.899 C516.755,34.978 517.244,33.391 517.654,32.338 C518.197,30.938 518.846,29.942 519.894,28.894 C520.942,27.846 521.94,27.196 523.338,26.654 C524.393,26.244 525.979,25.756 528.898,25.623 C532.057,25.479 533.004,25.448 541,25.448 C548.997,25.448 549.943,25.479 553.102,25.623 C556.021,25.756 557.607,26.244 558.662,26.654 C560.06,27.196 561.058,27.846 562.106,28.894 C563.154,29.942 563.803,30.938 564.346,32.338 C564.756,33.391 565.244,34.978 565.378,37.899 C565.522,41.056 565.552,42.003 565.552,50 C565.552,57.996 565.522,58.943 565.378,62.101 M570.82,37.631 C570.674,34.438 570.167,32.258 569.425,30.349 C568.659,28.377 567.633,26.702 565.965,25.035 C564.297,23.368 562.623,22.342 560.652,21.575 C558.743,20.834 556.562,20.326 553.369,20.18 C550.169,20.033 549.148,20 541,20 C532.853,20 531.831,20.033 528.631,20.18 C525.438,20.326 523.257,20.834 521.349,21.575 C519.376,22.342 517.703,23.368 516.035,25.035 C514.368,26.702 513.342,28.377 512.574,30.349 C511.834,32.258 511.326,34.438 511.181,37.631 C511.035,40.831 511,41.851 511,50 C511,58.147 511.035,59.17 511.181,62.369 C511.326,65.562 511.834,67.743 512.574,69.651 C513.342,71.625 514.368,73.296 516.035,74.965 C517.703,76.634 519.376,77.658 521.349,78.425 C523.257,79.167 525.438,79.673 528.631,79.82 C531.831,79.965 532.853,80.001 541,80.001 C549.148,80.001 550.169,79.965 553.369,79.82 C556.562,79.673 558.743,79.167 560.652,78.425 C562.623,77.658 564.297,76.634 565.965,74.965 C567.633,73.296 568.659,71.625 569.425,69.651 C570.167,67.743 570.674,65.562 570.82,62.369 C570.966,59.17 571,58.147 571,50 C571,41.851 570.966,40.831 570.82,37.631"></path></g></g></g></svg></div>
<div
style="padding-top: 8px;">
<div style=" color:#3897f0; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:550; line-height:18px;"> View this post on Instagram</div>
</div>
<div style="padding: 12.5% 0;"></div>
<div style="display: flex; flex-direction: row; margin-bottom: 14px; align-items: center;">
<div>
<div style="background-color: #F4F4F4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(0px) translateY(7px);"></div>
<div style="background-color: #F4F4F4; height: 12.5px; transform: rotate(-45deg) translateX(3px) translateY(1px); width: 12.5px; flex-grow: 0; margin-right: 14px; margin-left: 2px;"></div>
<div style="background-color: #F4F4F4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(9px) translateY(-18px);"></div>
</div>
<div style="margin-left: 8px;">
<div style=" background-color: #F4F4F4; border-radius: 50%; flex-grow: 0; height: 20px; width: 20px;"></div>
<div style=" width: 0; height: 0; border-top: 2px solid transparent; border-left: 6px solid #f4f4f4; border-bottom: 2px solid transparent; transform: translateX(16px) translateY(-4px) rotate(30deg)"></div>
</div>
<div style="margin-left: auto;">
<div style=" width: 0px; border-top: 8px solid #F4F4F4; border-right: 8px solid transparent; transform: translateY(16px);"></div>
<div style=" background-color: #F4F4F4; flex-grow: 0; height: 12px; width: 16px; transform: translateY(-4px);"></div>
<div style=" width: 0; height: 0; border-top: 8px solid #F4F4F4; border-left: 8px solid transparent; transform: translateY(-4px) translateX(8px);"></div>
</div>
</div>
<div style="display: flex; flex-direction: column; flex-grow: 1; justify-content: center; margin-bottom: 24px;">
<div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; margin-bottom: 6px; width: 224px;"></div>
<div style=" background-color: #F4F4F4; border-radius: 4px; flex-grow: 0; height: 14px; width: 144px;"></div>
</div>
</a>
<p style=" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; line-height:17px; margin-bottom:0; margin-top:8px; overflow:hidden; padding:8px 0 7px; text-align:center; text-overflow:ellipsis; white-space:nowrap;"><a href="https://www.instagram.com/p/Bm3fr8mHMbR/?utm_source=ig_embed&amp;utm_medium=loading" style=" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; font-style:normal; font-weight:normal; line-height:17px; text-decoration:none;" target="_blank">A post shared by henryamster (@henryamster)</a> on <time style=" font-family:Arial,sans-serif; font-size:14px; line-height:17px;" datetime="2018-08-24T15:44:58+00:00">Aug 24, 2018 at 8:44am PDT</time></p>
</div>
</blockquote>
<script async src="//www.instagram.com/embed.js"></script>
</div>
<div class="columns is-1"></div>
</div>
<div class="columns level">
<div class="column is-2 is-offset-2 level-item">
<h2 class="is-size-2">Want to get in contact?</h2>
<p>The best way to get ahold of me is by <a href="mailto:henryamsterfritz@gmail.com"> emailing me</a>, or by filling out the form to the right. I do have a phone, but I do not have voicemail, sorry!</p>
</div>
<div class="column is-half level-item">
<form action="">
<ul><li>
<label>Name:</labe><input name="name" type="text" id="name"></input></li>
<li><label for="message">Message:</label><textarea name="message" id="message" ></textarea></li>
<li><label for="email">Email:</labe><input name="email" type="email" id="email"></input></li>
<li><label for="tel">Phone:</labe><input name="tel" type="tel" id="tel"></input></li>
<li><a class="button is-primary" id="submit">Submit</a></li>
</ul>
</form>
</div>
<div class="column is-1"></div>
</div>
<div class="footer animated-bg-2">
<div class="column">
<h2 class="is-size-2">Henry Fritz</h2>
<h3 class="is-size-5">Design & Development</h3>
<ul>
<li> <a href="mailto:HenryAmsterFritz@Gmail.com?" target="_top">henryamsterfritz@gmail.com</a></li>
<li><a href="tel:1-859-200-8540">859.200.8540</a></li>
</ul>
</div>
</div>
<script src="https://www.gstatic.com/firebasejs/5.5.8/firebase.js"></script>
document.addEventListener('DOMContentLoaded', () => {
// Get all "navbar-burger" elements
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
// Check if there are any navbar burgers
if ($navbarBurgers.length > 0) {
// Add a click event on each of them
$navbarBurgers.forEach( el => {
el.addEventListener('click', () => {
// Get the target from the "data-target" attribute
const target = el.dataset.target;
const $target = document.getElementById(target);
// Toggle the "is-active" class on both the "navbar-burger" and the "navbar-menu"
el.classList.toggle('is-active');
//$target.classList.toggle('is-active');
});
});
}
});
var sketch = function(p) {
let r1 = 155;
let r2 = 125;
let m1 = 10;
let m2 = 10;
let a1 = 0;
let a2 = 0;
let a1_v = 0;
let a2_v = 0;
let g = .01;
g = g + .81;
let px2 = -1;
let py2 = -1;
let cx, cy;
let buffer;
var verts = [];
var lines = [];
var prev;
window.addEventListener("resize", p.setup);
prev = false;
p.setup = function(){
p.createCanvas(innerWidth , innerHeight);
a1 = p.PI / 2;
a2 = p.PI / 2;
cx = innerWidth / 2;
cy = innerHeight / 2;
p.buffer = p.createGraphics(p.width, p.height);
p.buffer.background(255);
p.buffer.translate(cx, cy);
}
p.draw = function(){
p.background(175);
p.imageMode(p.CORNER);
p.image(p.buffer, 0, 0,innerWidth, innerHeight);
//if there is not a previous value, set previous value equal to current x,y location
if (!prev) {
prev = [p.mouseX, p.mouseY];
}
//create vertex and line
createVert(p.mouseX, p.mouseY);
createLine(prev[0], prev[1], p.mouseX, p.mouseY);
//set previous equal to current location for next iteration
prev = [p.mouseX, p.mouseY];
//slice verts into a new array
var t = verts.slice((verts.length - 13), verts.length);
//iterate through t for the last 12 values, create lines between points
var s = t.forEach(function() {
if (verts.length > 12) {
if (verts[0][1] == verts[10][1] && verts[0][0] == verts[10][0]) {
return;
}
for (var i = 1; i < 12; i++) {
var diff = 20 * p.sin((t[i][0] - t[i][1] * t[i + 1][0] - t[i + 1][1]));
p.color(p.random(0, 255), p.random(0, 255), p.random(0, 255));
p.stroke(p.random(0, 255) * diff, p.random(0, 255), p.random(0, 255));
p.strokeWeight(1 * diff);
p.line(t[i][0], t[i][1], t[i + 1][0] - diff, t[i + 1][1] - diff);
}
}
});
//}
// if(!mouseIsPressed){
// verts=[];
// lines=[];
//}
//slice out old values from verts and lines arrays
verts = verts.slice((verts.length - 50), verts.length);
lines = lines.slice((lines.length - 50), lines.length);
function createVert(x, y) {
//create vertex, push vertex to verts array
p.ellipse(x, y, 1);
verts.push([x, y]);
}
function createLine(x1, y1, x2, y2) {
//create line, push line to lines array
p.line(x1, y1, x2, y2);
lines.push([x1, y1, x2, y2]);
}
let num1 = -g * (2 * m1 + m2) * p.sin(a1);
let num2 = -m2 * g * p.sin(a1 - 2 * a2);
let num3 = -2 * p.sin(a1 - a2) * m2;
let num4 = a2_v * a2_v * r2 + a1_v * a1_v * r1 *p.cos(a1 - a2);
let den = r1 * (2 * m1 + m2 - m2 * p.cos(2 * a1 - 2 * a2));
let a1_a = (num1 + num2 + num3 * num4) / den;
num1 = 2 * p.sin(a1 - a2);
num2 = (a1_v * a1_v * r1 * (m1 + m2));
num3 = g * (m1 + m2) * p.cos(a1);
num4 = a2_v * a2_v * r2 * m2 * p.cos(a1 - a2);
den = r2 * (2 * m1 + m2 - m2 * p.cos(2 * a1 - 2 * a2));
let a2_a = (num1 * (num2 + num3 + num4)) / den;
if (p.frameCount % 100 == 0) {
a2_v += .0002;
}
p.translate(cx, cy);
p.stroke(0);
p.strokeWeight(2);
let x1 = r1 * p.sin(a1);
let y1 = r1 * p.cos(a1);
let x2 = x1 + r2 * p.sin(a2);
let y2 = y1 + r2 * p.cos(a2);
//
// line(0, 0, x1, y1);
// fill(0);
// ellipse(x1, y1, m1, m1);
//
// line(x1, y1, x2, y2);
// fill(0);
// ellipse(x2, y2, m2, m2);
a1_v += a1_a;
a2_v += a2_a;
a1 += a1_v;
a2 += a2_v;
// a1_v *= 0.99;
// a2_v *= 0.99;
p.buffer.colorMode(p.HSB);
p.buffer.stroke(p.cos(a1) * 100 * 2, 255, 100);
if (p.frameCount > 1) {
p.buffer.strokeWeight(a1_v * 100);
for (var i = -2; i < 2; i++) {
p.buffer.line(px2 + i, py2 + i, x2 - i, y2 - i);
p.buffer.fill(p.sin(a1) * 100, 100, 100);
//buffer.ellipse(px2+i, py2+i, x2-i, y2-i);
}
}
px2 = x2;
py2 = y2;
}
};
new p5(sketch, 'container');
//Double pendulum code taken and adapted from Daniel Shiffman
//please visit his website https://shiffman.net/
//And purchse his book, "The Nature of Code,"
//one of my personal favorites!
var config = {
apiKey: "AIzaSyAqSojwj5Gbmdbw7UeHtdMgSOZXA9FAhYM",
authDomain: "inexd-2f1aa.firebaseapp.com",
databaseURL: "https://inexd-2f1aa.firebaseio.com",
projectId: "inexd-2f1aa",
storageBucket: "inexd-2f1aa.appspot.com",
messagingSenderId: "766024592489"
};
firebase.initializeApp(config);
var submit = document.getElementById('submit');
submit.addEventListener('click', submitMessage);
function submitMessage(){
var name = document.getElementById('name').value;
var message = document.getElementById('message').value;
var email = document.getElementById('email').value;
var phone = document.getElementById('tel').value;
return saveMessage(name, message, email, phone);
console.log('lol');
}
function saveMessage(name, messageText, email, phone) {
// Adds a new message entry to the Realtime Database.
console.log('lfl');
return firebase.database().ref('/inquiry').push({
name: name,
text: messageText,
email: email,
phone: phone
})
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/p5.min.js"></script>
.main {
font-family: "Century Gothic";
animation: Gradient 15s ease infinite;
background: linear-gradient(-45deg, #ffe869, #b7d3f2, #ff8069, #fff4bb);
background-size: 400% 400%;
}
#brand {
font-size: 1.3em;
}
#call {
color: #fff4bb;
padding-top: 25px;
font-size: 8em;
font-family: "Oswald";
}
@media screen and (max-width: 950px) {
#call {
font-size: 3.5em;
}
}
@media screen and (max-width: 650px) {
#call {
font-size: 1.5em;
}
}
.animated-bg {
min-height: 420px;
background: url(https://66.media.tumblr.com/c319dbeeef58b8e5a7396c2ab8591812/tumblr_pf0w62Py8M1xgv4g2o1_400.gif);
background-position: center;
animation: Gradient 15s ease infinite;
background-repeat: no-repeat;
}
.animated-bg-2{
background:url(https://66.media.tumblr.com/d33c27ebea06416947bf4c204b21e65f/tumblr_pfc6e0Spka1xgv4g2o1_400.gif);
background-position: center;
animation: Gradient 15s ease infinite;
background-repeat: no-repeat;
}
@-webkit-keyframes Gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.shad {
text-shadow: 2px 2px #666;
}
.linkshad {
color: #fc3;
text-shadow: 2px 2px #963;
}
.os {
font-family: "Oswald";
}
.habitat {
background: #00b0d7;
width: 400px;
padding: 15px;
border-radius: 25px;
margin:25px;
}
@media screen and (min-width: 800px) {
.tl {
border-top-left-radius: 25px;
}
}
.minion {
font-family:'Minion Pro';
font-weight:800;
}
svg{
width:100%;
}
.t{
color: #cff4bb;
}
#gh{width:300px;}
.mt{
margin-top: 20px;
}
label{
font-size:1.2em;
}
input, textarea{
width:100%;
font-size:1.2em;
font-family:'Century Gothic';
font-weight:800;
border:0;
padding:4px;
border-radius:5px;
background:#FCFCFC;
margin: 2px;
border-bottom: 3px solid #DCDCDC;
}
<link href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.min.css" rel="stylesheet" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment