Data Visualization

Part of the expertise that I have 2 hours per week, Monday to Tuesday, is creative technology. In the expertise, it focuses on engineering and art.  This is the third project that we did in the expertise, which is data visualization. What data visualization is how we use data to display it in a creative canvas. We use p5.js which is part of the Javascript package, to code. My data is Cambodian provinces’ demographic, this also included the poverty rate. I got the data from Open Development which is a website that contains a lot of data from countries in South-East Asia. I represent each province with a dot, the bigger dot the higher number of the poverty rate. I made a logic that if a province that had a high poverty rate then it would take a long time to develop. So as our mouse moves to the right, it represents a high level of development. So as stated earlier, if a province has a high poverty rate, it means that the time it takes for the dot to reach the mouse is longer compare to the time it takes for a province that has a lower poverty rate. As an example, Phnom Penh has a really low poverty rate, so the dot is very very small and the speed to develop is fast!

Data visualization of the poverty rate in Cambodia 

Here is a link to the simulation: 

Below is an example of the code: 

let prov = [];
class Data{ 
  constructor(pov_rate, speed){ 
    this.pov_rate = pov_rate; 
    if(speed > 5) this.speed = speed; 
    else  this.speed = 2; 
    this.lastPosY = 0; 
    this.lastPosX = 0; 
  setTo(posX, posY){ 
    this.lastPosY = posY; 
    this.lastPosX = posX; 
    ellipse(posX, posY, abs(this.pov_rate)* 1.5); 

  runTo(goal, i){ 
    var sp = 25 - (this.pov_rate - this.speed); 
    var run = this.lastPosX + sp/5; hit = collidePointCircle(mouseX,mouseY, run, this.lastPosY, abs(this.pov_rate) * 1); 
      text([i].PRO_Name, width/2, 50); 
      text("Poverty Rate: " +[i].pov_rate + "%", width/2, 80);
    if(run < goal - 20) this.setTo(run, this.lastPosY); 
    else ellipse(run, this.lastPosY, abs(this.pov_rate)*1.5); 

Inspector Game

This is the second project that we did in our creative technology expertise. We learned to use a javascript package calls p5.js, which is a package where it allows us to design a lot of shapes and turns into an art canvas. Our facilitator, Waseem, taught us to use it. He challenged us to form a piece of art using p5.js over our Christmas break. Instead, I created a game where the user has to find a hidden dot in the grid.


I started the idea with dots and patterns. Then I began to add some interaction like moving those dots. So then it began to form this piece of game call inspector! Throughout the project, the hardest part for me was to set the position of the hidden dot; I spent about a whole day doing it. As always I like to show an example of the code, below is a function that calculates the number of seconds.

// Time Fuction for calculating the changing in second
var tStart = 0; 
function time(){ 
  var cur = second();
  if(cur - tStart != 0){ 
    subSec += 1; 
  } else {
    subSec += 0;
  tStart = cur;

This is how the game looks like, feel free to go to this link to play it: 

TEDxISPP: The Impact of Technology

I participated in an event calls TED TALK at an international school here, Phnom Penh; The whole title of the event calls TEDxISPP.  This event happens every year and for this year the theme is: Creating a Hopeful Future. The speakers need to relate to that theme, my topic is about the Impact of ICT in Cambodia. 

The reason that I decide to spend hours and hours of work to this is that I am one of those students who love technology, in order to get more people interest in this field I need to promote it to them. So this is part of my advertising technique to let people know more about ICT especially  Cambodian. I took this opportunity seriously, I spent about 2 months working on the talk, I wrote the scripts, creating slides, and remember those script (the hardest part of the process). One week before the event happens, I use most of the time that I had to remember my script, sometimes I didn’t go to some classes. That was challenging to talk in front of 100 people, it pressured me while the slide didn’t work. But I love it, I really do and hopefully next year I want to do it again. 

In the talk I included the history of technology,  microcontroller and microprocessors, then there were a lot of examples of how people in this country our technology. It really shocked me at a moment that in 2015, 95% of the population own a smart phone; that is a really large amount of people.


The boys!
This is my second time at ISPPMUN, that I try my best to talk! It turns out that I fail again, my resolution didn’t pass from the majority votes. This term I did be the main submitter of the resolution. It feels a bit pressure to be the main submitter, I thought that I can’t even read all of the operative clauses to everyone on the committee. This 2017 ISPPMUN I am a delegate of the People’s Democratic Republic of Algeria, the largest country in Africa, I also level up my committee last year I was in Junior General Assembly now I’m in General Assembly 2. I love this there were about 40 delegates in our committee which is a really large amount, we debate strongly and most of us evolved. The theme is a collaboration rather than confrontation and my committee topics are, regulations of Bitcoin, funding education in the low-income country, and depletion of the finite resource. I tried my best to convince people in the house to vote on my topic, but it results in nothing with a fail since I am in a bad side of what people think and the way that I talked was a bit too strong. I enjoyed with the MUN this year. 
Our committee
The certificate.

Edit by Samady


Experiment about Ocean Water and Normal Water

On 1st June, 2016 I had an experiment about the salt water and the fresh water. So the data show:

Ocean Water:

. Conductivity: 886 ppm

.PH: around 5.5 to 6

Sink Water:

. Conductivity: 28 ppm

.PH: around 8

So which mean that our ocean now is getting a little acidic, and for my hypothesis is that people produce a a lot of CO2 and it bad for coral reefs.

My self holding the ocean water PH.
My self holding the ocean water PH.
Checking the conductivity of the normal water.
Checking the conductivity of the normal water.
the result
the result
That all the experiment
That all the experiment