Git Product home page Git Product logo

ordr.ai-framer-prototype's Introduction

Ordr.ai framer prototype

Here's the code for the prototype I use in my article Building The Universal Menu of Tomorrow

Alt Text

Notes:

  • Relevant code can be found in:
app.coffee
  • I've made my own custom container and device because Framer didn't allow you to change devices a few months ago

  • I should have made classes to make things cleaner and quicker but it get's the job done

  • One of the more obvious things is that I have essentially layered everything on top of each other instead of creating separate pages for each section of the prototype. If I remember correctly, the main reason I did that was because Framer.js utelized fixed directions of either left or right for page transitions and I wanted a seamless transition between the Main Page & Power Search pages. (As you can see, it soon became a nightmare to trigger and control the correct asset arrangements to stop the wrong pages/interactions from being viewed!)

  • All the parallax would defintiely benefit from a more planned approach by using some simple maths and monitoring the change in scroll position & actually formatting each Meal Card’s background image/overlay to be the same size & relative position.

  • There was also some weirdness involved in trying to get the Meal Cards to swipe, while scrolling and be a tap target that can return to it’s original view, without getting stuck at the point where you tapped or dragged it… Actually, the first card still temporarily disappears or scrolls at a different rate. I think it has to do with the fact that when you tap or slightly move it & move the screen at the same time, the return to origin animation begins but doesn’t scroll with everything else.

ordr.ai-framer-prototype's People

Contributors

hammaadmahboob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

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.