GithubHelp home page GithubHelp logo

ano-js / anojs Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 20.0 19.53 MB

Web animation made easy.

Home Page: http://anojs.com

License: MIT License

JavaScript 100.00%
html5-canvas javascript web-animation

anojs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anojs's Issues

Link error on homepage

Under the section titled "Ano.js Examples," the following picture doesn't link to the example. It leads the users back to Ano.js's homepage

Screen Shot 2020-07-01 at 1 47 22 PM

"Growing Circles" animation does not load

Macbook Air Catalina
Google Chrome

Screen Shot 2020-07-23 at 3 36 25 PM

I've refreshed and waited for the page to load, and the animation doesn't show up. Not sure if it's a problem on my end, let me know if it's reproducible!

Confusing hover color on homepage

The "Join Our Team" button's hover state has the same color as the "Check out Animations" button. This is slightly confusing because one color indicates a hover state while the other button doesn't. A suggestion would be to change both buttons' hover state to the same color.

Screen Shot 2020-07-05 at 11 48 55 PM
Screen Shot 2020-07-05 at 11 49 06 PM

Make animations more customizable for users

  • Make the code extensible, reusable, and configurable.
  • Optimize the website so that point 1 is possible.

I meant that regardless of the technology we choose to use for animations, our codes are modules. Modules that allow the user to customize it according to their needs, since at this moment the user adapts to anojs and not the other way around, and in this way, the use of animations becomes complicated.

In anojs there should be the option to customize certain parameters of the code (number of balls, speed, colors, canvas size) and then be able to return the code to be used with the changes made.

Link on Animation to Contributor shows Internal Error

On a given Animation page, the link to the contributor page shows an internal error. This link should lead to the contributor's github profile or a designed page for that contributor on AnoJS.

Error:
image

Link Clicked:
image

Contributors are not listed in the order of their amount of contribution

The contributors seem to be listed in no particular order.
Screen Shot 2020-07-04 at 10 55 39 PM

According to the screenshot below, the website promises that "Contributors with the most amount of contributions are shown the most." Following this philosophy, it would make more sense if the contributors are listed in the order of their amount of contribution to this open-source, displaying those who contribute the most at the top.
Screen Shot 2020-07-04 at 10 54 50 PM

http vs https - mixed content

Browsers block the content.

Error Message

Mixed Content: The page at 'https://....' was loaded over HTTPS, but requested an insecure script 'http://anojs.com/...js'. This request has been blocked; the content must be served over HTTPS.

Add Links and Image to the "How to use AnoJS" Section

In the "How to use AnoJS" section, add relevant links and images to assist understanding. For example, for Step 1, add a link to the animations; for step 2, have an image showing how to customize colors; for step 3, show example code of an animations to explain how to integrate into their own project.

image

Home page formatting suggestion

Under the "Why Ano.js" section on the homepage, it would look nicer if the space on the bottom right was filled. This can be done by expanding the text under "Open Source" so that it fills the whole screen.
Screen Shot 2020-07-03 at 11 08 54 PM

Improve Performance

Many of the anojs animations are really lagging, this is probably due to the use of the 2D canvas rendering context, which uses a very slow CPU rendering engine. requestAnimationFrame is also known to be inconsistent. As a result, it would be preferable to use a GPU accelerated renderer + a better animator.

The best solution to this is probably the GreenSock Animation Platform (GSAP) animation system along with the PixiJS accelerated 2D renderer. I will be working on this in the coming days.

Restrict mobile users from viewing animations

iPhone 11
iOS 13.5.1
Google Chrome

When browsing through the animations on mobile, a nice prompt comes up:
IMG_4115
However, once exited and the if the user presses on the animation, it redirects to an internal server error page. As an enhancement, perhaps have the prompt pop up every time a user on mobile clicks on an animation, to prevent errors.
IMG_4116

Page alignment issues on mobile platform

The sections on the homepage appear to be not aligned properly when opened using a mobile platform.
eg. The section titled "Open Source!" only fills the left side of the screen while the section titled "Ano.js Examples" fills the whole screen.

IMG_4710

Base animations on classes rather than IDs

The main disadvantage of the current code is that because each animation script finds its target by ID and not by class, it is impossible to include more than one of the same type of animation on a page.

Create Rendering Module

We need a core module to handle all the rendering. Potentially, multiple backend rendering systems could be used, but I think right now the highest priority is to use PixiJS, since it is one of the fastest (and GPU accelerated).

Color the Code Shown when Using an Animation

On the popup that shows how to integrate a given animation into the code, the code shown should be in color and formatted like it is in text editors.

Popup:
image

How code should be colored and formatted:
image

Don't upload code without being tested that it works

Guys, I think optimization tests shouldn't be done directly on the actual page. There must be a test server. On the page we should only load the final changes. When users come in and see the mess being created on the page, they don't want to go back. It's just my point of view. I know we are just getting started, but I think we should be careful with that.

Link error under "Our Team" section

Under the "Our Team" section, clicking into the contributors' username leads to a server error.

Suggestion: Link each contributor's username to their GitHub page.

Screen Shot 2020-07-04 at 10 45 25 PM

Screen Shot 2020-07-04 at 10 45 06 PM

Homepage formatting suggestion

The quotation marks under the Testimonials section overlap with the text. If this wasn't intentional, then I suggest moving the text slightly towards the bottom-right.

Screen Shot 2020-07-03 at 11 05 47 PM

Join Us page leads to crash

The whole ano.js website crashes when users try to register as an opensource contributor under the "Join Us" page.

Screen Shot 2020-07-02 at 10 12 07 PM

image

Shared library code?

The current appeal of the project is the ability to embed any animation with 2 lines of code. If we lift this restriction slightly by introducing an additional helper library, it could greatly simplify the rest of the animation scripts.

The library could be structured something like this:

if (!window.AnoJS) {
    window.AnoJS = {};
    // example helper function
    AnoJS.point = function(x, y) { return { x, y }; };
}

Formatting enhancement on "Join Us" page

The formatting on the page "Join Us" needs improvement. The text starting at "What do Ano.js contributors do" are all left-aligned, leaving a huge space to its right side.

Suggestion: Instead of continuing the "Benefits of being a Contributor" information at the bottom, try to take advantage of the space on the right side.

Screen Shot 2020-07-06 at 11 35 08 PM

make a utils class

As I was formatting the code for semicolons, I noticed a lot of these classes had the same basic setup (init, animate, render, etc). I think we can use an interface for this (idk if javascript has interface). We should eliminate all this boilerplate code

Minor GUI issues on mobile

Summary:

Minor GUI issues on mobile

Environment

Platform: Android
Operating System: Android 10
Browser:
image

Page:
http://anojs.com/our-team

Description

Text overlapping and the ability to scroll to the right

Steps to reproduce

  1. Go to http://anojs.com/our-team on a mobile device
  2. Scroll to the right

Expected result

The page stays static and doesn't allow for scrolling in any direction except for up and down
Text doesn't overlap
Actual result

The page allows for scrolling left and right
Text overlapping

Screenshot

image
image

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.