Blog Archives

snow world

Posted in Digital Multiple Media Tagged with:

Krita Drawing: Villa at river bank

Posted in Digital Multiple Media Tagged with:

Drawing by Krita

Posted in Digital Multiple Media Tagged with:

Molecule to atoms


Here is a interested algorithm question on codewars site. For a given chemical formula represented by a string, count the number of atoms of each element contained in the molecule and return an object. For example: water = ‘H2O’ parse_molecule(water)

Posted in Algorithm Tagged with: ,

Performance on sum of many ints by Python


There is a such question  at codewars( site. Write a function to do calculation according below formula: for i from 1 to n, do i % m and return this sum for example: f(n=10,m=5) //return 20 (1+2+3+5+0+1+2+3+4+0) actually it is

Posted in Algorithm Tagged with: ,

Customize form validation by using jQuery validation plugin


Sometime form validation is trouble thing for building front page, in this article briefing a method which allow us to customize the validation by adding ourselves’ rule.

Posted in HTML5, Javascript Tagged with: ,

Tooltip by pure CSS


::after and ::before are very useful notation in CSS for showing content or supporting layout. We can set some content for “content” property in css for ::after or ::before notation,  for example:

Is there any way to set dynamic

Posted in CSS3 Tagged with:

Retrieve public page content from Facebook without user login


Abstract Facebook upgraded it’s API, cause some issue on our social micro page in our company. The public page content can not be retrieved anymore without creating an application, and I have to spend one day to look through the

Posted in Javascript Tagged with: , ,

How to find the ghost ball position in billiard game


It’s very important to find the position of ghost ball in billiard game, in this example showing how to use ray to find correct position for ghost ball in Unity3D development.

Posted in Game Tagged with:

Game Trailer of AVIATOR

game trailer

Unity 3D + After Effect + Windows Live Movie Maker

Posted in CG, Game Tagged with: ,