so my brain is crazy now,

I believe it’s fun to record.

The animation trailer for BBB is going well so far.. we landed off the initial story to make it as silly as possible – Candy turned my super logic and technical story to one that’s silly, fun and make-no-sense.. But I love it! Somehow I think being silly is a golden trait… because it makes you laugh then u just remember it! One common thing we agreed with is bringing personalities to things – that’s good. it means we’re keeping the essentials of the story while filter out redundant thoughts during brainstorms.

I doodled the initial color scripts with color pens this morning, along with text in Mandarin and English to complete the story. To complete the color scripts, I have to add mood, emotion, and lighting to the doodled color scripts. I initially wanted to use Microsoft’s Paint 3D, as it looks fairly easy to scratch 3D models. But when I tried it in Microsoft Store this evening, I found the rendering is not fast enough for quick sketching. Okay, we still need the color scripts. I’ll just draw the color scripts as it’s important references of the joints of the story, since drawing is the most intuitive and convenient way.. Maybe after the color scripts I could ask some artists to refine them.

Once color scripts are done, the next step is to animate the trailer in the shortest time. It would be simple and crude, but that’s fine – the idea is to refine the story over and over again by watching the story being animated. Once the story is polished, we could polish the art and style of the trailer.

I am so excited that I’m directing an animation trailer! Even I am scared that some animations take long time (years) to finish, I’d like to see how my first animation trailer ends up to be.

Dopamine doesn’t end up being useful on color scripts.. I am sad for that.. but I think if we decide to render in 3D, I could try Dopamine..

I am exhausted and excited. Heavy things come in the same time.. My skill is absolutely lacking. But I should stop fear and keep going!


Sometimes people directly or indirectly say unfriendly thing about my country right in front of me. I’m not sure it’s on purpose or not, but I feel very uncomfortable and not respected, though I know what they said is true and I agree. How do I react? I can only think it’s normal that some people don’t realize what they said could be sensitive or negative to others, then make myself calm down, and hope that my country can be respected some day, which I deeply believe will become true. But I’m not happy to hear that. I used to believe everybody is kind and respectful.













Highlights of Dynamic Constraints

Dynamic constraints could be efficient and powerful if we get it work correctly. In other words, we need to make sure:

  • Do the deactivation/activation of constraints at the right place.
  • Try to avoid frequent view hierarchy changes (addSubview, removeFromSuperview).
  • Make sure active constraints don’t have conflicts.

Let’s dive into details of the three aspects:

Do the deactivation/activation of constraints at the right place:

For a view, `updateConstraints` is where the system gets the constraints for subviews and is efficient to apply constraint changes. To trigger `updateConstraints`, call `setNeedsUpdateConstraints` wherever the constraints need to be changed.

Try to avoid frequent view hierarchy changes (addSubview, removeFromSuperview):

Frequent view hierarchy changes requires recalculation of the layout, which is not efficient for displaying the views, and could cause update of the view not visually smooth.

Make sure active constraints don’t conflict:

Although iOS automatically deactivating conflicted constraints based on some magic in the system, it’s better to not contain conflicted constraints in the first place. Because older iOS versions may not be as intelligent as the newer ones dealing with constraints conflicts, and it could results in unexpected layout.


When a business man pushes his engineering team to meet project milestones to fulfill the promise with investors, conflicts happen when the milestones are not met. Luckily, there’re thousands of ways to fix it.

Unfortunately, some people don’t directly look at the problem and think how to efficiently fix it. Instead, they let their worries of not meeting the milestones spread, which makes the key issue unclear, and could pull the progress, slows down the engineering team from meeting the milestone.

This kind of limited self-control is not good for running long-term business because it doesn’t build personal credit and trust.

How do Photons Make Sky Color?

When we see the sky along a direction, we see blue color. But there’s nothing in the atmosphere except for air molecules and dust, why do we perceive blue color?

A common explanation is Rayleigh Scattering, which explains how lights with various wavelengths are scattered by air molecules and end up with a mix of lights, that are perceived as blue color by human.

However, this explanation becomes confusing if we take the definition of light in Quantum Electrodynamics. In Quantum Electrodynamics, light is defined as photons, instead of wavelengths. All photons are the same (i.e. travel in the same speed in medias, and are absorbed and scattered in the same way by matters). Given that a photon can be scattered by an air molecule to any direction, a team of photons can be scattered by an air molecule to any directions too, but most photons are scattered to similar directions (no scientific explanation on this phenomenon), we should see a gray sky with gradients caused by different amounts of photons arriving to our eyes at different view directions.

I think that to make blue sky explainable with quantum electrodynamics, we need to question the definition that all photons are the same (unless I got it wrong?). Maybe there are different photons? They travel in different speed in medias, and follow different probabilities of deflected direction when scattered by an air molecule? Then, when different kinds of photons arrive our eyes, we perceive blue color as a magic interaction of our visual system and these photons?


Our happiness,

Could because of light,

Could be seeing that bright smile,

Or could be, we love, embrace, believe.


Identity, becomes clear after an affair.

I can smile.

I face.

Weber’s Law

Weber’s law quantifies the perception of changes of a stimulus. Although it’s mostly used in vision research, it seems applies to other areas in life. For example, if we want to achieve several goals with equally growing difficulties, the effort for achieving higher goals does not linearly correspond to the the difficulty difference. Instead, the higher the goal, the more effort you need than achieving lower goals.

Oh! Summer!


Summer is so nice!

Like the balminess of Un Jardin Sur Le Nil,

Green mango,



Sycamore wood.

Endless bright, richly colorful, sweet, and sweet fruits,

Endless steamed green veggies, with lots of lots of lemons.

Endless lemonade!