Giter Site home page Giter Site logo

nguyenfromvn / nguyenfromvn.github.io Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 519.62 MB

Randy's personal website

CSS 25.98% HTML 17.53% JavaScript 56.49%
animation audio-visualizer design music optimization portfolio vanilla-javascript web-application websocket

nguyenfromvn.github.io's Introduction

Welcome to my personal website!

This is my first side project since I started my professional career on September 2021 (as a full-time Frontend Software Engineer)

Live at https://nguyenfromvn.github.io/

Highlights:

PageSpeed results
  • A music radio that can play music uninterruptedly, even when the network is slow or losing connection, or even if the screen is off or the device is locked (Android devices)
  • Well performance optimizations including dynamic fps limit, using custom code instead of JavaScript builtin functions, precise timing for heavy tasks, using the Performance tab of Dev tools, etc. resulting in a very smooth experience with high framerate, even on mobile devices
  • Fault tolerance crypto price tracking widget that can recover to work properly after an interruption event (caused by networking issues, etc.)
  • Precise time info from the clock widget, it matches the system's time in seconds
  • No framework or library involved, everything is written from scratch

Features:

  • A music radio with a long list of good songs
  • Music visualization, emphasizing bass and treble
  • Creative and beautiful-looking design
  • Good optimizations to deliver high framerate
  • Crypto price tracking in real-time using Binance WebSocket
  • Current weather info using OpenWeatherMap API
  • A clock widget to show date and time
  • A small game in the background where people can interact with the falling dots behind an invisible wall

Notes:

  • Users should consider using Chrome browser (on PC and mobile devices) for the best experience as most of the logic is implemented based on the documentation of Chrome
  • Currently, browsers on iOS do get some restrictions, especially on audio playback and background stuff. I spent more than a week just to make sure the audio was played correctly on iOS. Still, the audio will stop immediately after the screen turns off or the user switches to another application
  • Another known issue on iOS is about opening a new tab, iOS tends to block "pop-ups" and thus, opening new tabs may get banned and only can be done if the user does allow that
  • Because audio is playing via a browser, not directly when compared to a native app, and thus, sometimes, the audio playback can be throttled or the tab can be even reloaded due to memory need for other purposes

nguyenfromvn.github.io's People

Contributors

nguyenfromvn avatar

Stargazers

 avatar  avatar Khanh Huyen Nguyen avatar Vũ Xuân Đức avatar

Watchers

 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.