GithubHelp home page GithubHelp logo

arthurtent / racing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leslieyip02/racing

0.0 0.0 0.0 19.07 MB

Zooming around in three.js

Home Page: https://leslieyip02.github.io/racing/

JavaScript 0.69% TypeScript 91.37% CSS 5.11% HTML 2.49% Batchfile 0.35%

racing's Introduction

Racing ๐Ÿš—

demo gif

site: https://leslieyip02.github.io/racing/

Controls

Action Button(s)
Move forward w
Move backward s / shift
Turn left a
Turn right d
Increase thrust โ†‘ / ๐Ÿ–ฑ๏ธ scroll up
Decrease thrust โ†“ / ๐Ÿ–ฑ๏ธ scroll down
Reverse camera r

Speedrun "Tech"

These are features, not bugs

Shortcuts

When passing through a checkpoint, the system only checks that it's index is greater than the vehicle's current checkpoint. This allows checkpoints to be skipped by jumping between segments of the track.

shortcut gif

Jumps

A delta time value is passed into the scene everytime its update() method is called. This dt value keeps increasing even the page is not being loaded or updated.

Tabbing between pages can cause the vehicle to "jump" because its displacement from its current position is equal to its velocity multiplied by dt.

jump gif

racing's People

Contributors

leslieyip02 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.