• Draw Bezier and B-spline curve by HTML5 and Javascript
  • Solar System base on WebGL
    Solar System base on WebGL
  • SSIM vs PSNR
  • How to make jQuery validation engine works well for select2()
    How to make jQuery validation engine works well for select2()
  • Gallery thumb fan spin effect with CSS and jQuery
  • Gallery thumb item hover effect with css

snow world

Tagged with:
Posted in Digital Multiple Media

Krita Drawing: Villa at river bank

Tagged with:
Posted in Digital Multiple Media

Drawing by Krita

Tagged with:
Posted in Digital Multiple Media

Molecule to atoms

molecules-

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)

Tagged with: ,
Posted in Algorithm

Performance on sum of many ints by Python

sum

There is a such question  at codewars(http://www.codewars.com) 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

Tagged with: ,
Posted in Algorithm

Customize form validation by using jQuery validation plugin

Capture

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.

Tagged with: ,
Posted in HTML5, Javascript

Tooltip by pure CSS

tooltipbycss

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

Tagged with:
Posted in CSS3

Retrieve public page content from Facebook without user login

facebook-api1

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

Tagged with: , ,
Posted in Javascript

How to find the ghost ball position in billiard game

Picture

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.

Tagged with:
Posted in Game

Game Trailer of AVIATOR

game trailer

Unity 3D + After Effect + Windows Live Movie Maker

Tagged with: ,
Posted in CG, Game