GithubHelp home page GithubHelp logo

Aspiring software engineer with significant web dev experience

Check out this sweet animation

Or render it yourself in svelte
<script>
  var showcaseElems = Array.from({length: 9}, (_, i) => (i + 1) * 100)
  var sweet = [
    "s",
    "w",
    "e",
    "e",
    "t",
  ]
  var sweetI = Array.from({length: sweet.length}, (_, i) => i + 1)

  setInterval(() => {
    showcaseElems.push(900 - showcaseElems.shift())
    showcaseElems = showcaseElems
    sweetI.push(sweetI.length - sweetI.shift())
    sweetI = sweetI
  }, 100)
</script>

<svelte:head>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com">
  <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&display=swap" rel="stylesheet">
</svelte:head>

<h1>
  Look at this
  {#each sweet as l, i}
    <i style:font-variation-settings="'wdth' {((37.5 / 4) * (sweetI[i])) + 62.5}, 'wght' {((800 / 4) * (sweetI[i])) + 100}">{l[0]}</i>
  {/each}
  animation
</h1>

<div class="variable-showcase">
  {#each showcaseElems as i}
  <p class="variable-showcase-item" style:font-weight={i}>Animation</p>
  {/each}
</div>

<style>
  * {
    font-family: "Noto Sans";
    transition: 0.5s;
  }
  .variable-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
  }
  .variable-showcase-item {
    margin: 0;
  }
</style>

Davis Forsythe's Projects

nordzy-icon icon nordzy-icon

Nordzy is a free and open source icon theme for Linux desktops using the Nord color palette from Arctic Ice Studio and based on WhiteSur and Numix Icon Theme.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.