Uncategorized

Portfolio

Projects

Dead Ops Prime Edition(D.O.P.E). LINK:  https://goo.gl/e3iCjc

  • Worked on Blood spill particle effect, mesh destruction, bullet trail.

Tech: C++, Unity Engine.

Snowball Run : Temple Run Inspired game 

  • Implemented core mechanic of player, enemy, obstacle, power-up.
  • Designed event system for communicating between entities.
  • Data-oriented game setting.
  • Space invader mini game.
  • Mesh destruction and Character rigging in Maya.

Tech: C#, Unity, Maya Animation

Rat Lipid MapFriend’s upcoming Phd support site. LINK : https://goo.gl/GoZgiC

  • Designed Relational Database in PostgreSQL + Backend Server in Scala and Play Framework.
  • Automated data conversion/ insertion from Excel.
  • Responsive Web Design with Bootstrap, auto table display with dynatable.

Tech: Javascript, Jquery, HTML, CSS, Bootstrap, PostgreSQL, Scala, Play framework.

Project Bystander: Engage bystander’s action to prevent sexual harassment. LINK: https://goo.gl/uxWBLz

  • Devised a mechanism to rewind time and intercept time sequence.
  • Scripting Game play’s logic and character’s animation.
  • Top 3 finalist for USC Body Computing Conference VR Hackathon.

Tech: C#, Unity, Animation, Sound Design.

News Site Crawler: CSCI 572 project.

  • Crawled two news site: LAtimes, Huffington post.
  • Indexed pages using solr.
  • Compared ranking strategy: Pagerank and default strategy.
  • Created google-like search page using Flask.
  • Peter Norvig search term suggestion.

Tech: solr, Python, Flask, networkx.

Project Solertia : Ability-based FPS game. LINK : https://goo.gl/mZo8Nu

  • Implemented and networked scoring system, HUD UI.
  • Coded Slow time ability.

Tech: C++, Slate, Unreal Engine.

Stock aggregator: Stock news, chart hub. LINK : https://goo.gl/gAk2s5

  • Android App to search and view stock related information.
  • Back end server hosted in Amazon Web Service.

Tech: HTML/CSS3/JS, Bootstrap, Android, Java, Amazon Web Service.

Software Renderer: OpenGL fixed function pipeline clone. LINK:  https://goo.gl/drbWXg

  • Image space shading : support Gouraud and Phong shading.
  • Matrix stacks to transform between spaces.
  • Texture mapping and anti aliasing.
  • Final Project: Render 4D fractal. LINK : https://goo.gl/xB0SkV

Tech: C++

Weenix Kernel. LINK: Cannot post link since the license is not Creative Commons.

  • Simple thread.
  • Virtual File System.
  • Virtual Memory

Youtube Link Grabber : Download Youtube link

Youtube Repeat: Repeat Youtube video.

Codes, LeetCode

Cascading boolean expression

Today Leetcode problem is rotating linked list .  Doing it is a no brainer( Answer below). What I suddenly realize is you could pipe the boolean expression to simplify the boolean check later on. To jump straight on:

int k1 = (l == 0 ) ? 0 : k % l;
/* equivalent to 
if(l != 0 )
   k1 = k % l;
else k1 = 0;
*/
if(k1 == 0)
    return head; //rotate with k multiple of list length or list empty

It is like a filter so the end result is just one simple check. I know it won’t make much of a difference but it comes to my mind naturally.

Continue reading