Giter Site home page Giter Site logo

100's Introduction

100's People

Contributors

antfu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

100's Issues

Wrongly translated expressions in 005

In 005:
When translating expressions, when a number is divided by a number greater than 10, the result of the operation is not as expected.

Reproduction

(t, r, th) => sin(t / 10) got black results. I think it was translated to sin(t / 1 * 0).

My thoughts

  1. Wrong in regExp replacement method. /(\d+)(\w+)/g should be modified to /(\d+)([a-zA-Z]+)/g;
  2. I'm not sure if 1/3t should be translated as (1/3)*t or 1/(3*t), the current translation results in the former. If it should be the latter, the correct method should be exp.replace(/(\d+\.?\d?)([a-zA-Z]+)/g, (_, n, x) => `(${n} * ${x})`) (use brackets to enclose the result, and let number part matches float numbers)
  3. Another problem is that I can't type 3tr to represent 3*t*r, only get 3*tr and then got an error.

box is not defined

Hi, I noticed that some projects didn't work because of this error logged in the console: box is not defined. I didn't check them all but it's the case of 007 and 009. I tried in several browsers, so it shouldn't be a problem only related to my configuration.

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.