xxxxxxxxxx
401
//Sexual harassment and physical abuse faced by many women in India has reached the zenith of unethical activities.I want to propagate the message of injustice in the political society and participate for women safety movement in India. The horrific and ghastly feelings left inside the victim stays with them throughout their life.
let girlreport;
let toi;
let dalitlives;
let girl;
let news2;
let news3;
let girlfamily;
let justice;
let rape;
let speed = 1;
let dicrination;
function preload() {
//loading images from asset folder
toi = loadImage("assets/timesofindia.png");
girlreport = loadImage("assets/girlreport.png");
dalitlives = loadImage("assets/dalitlives.png");
girl = loadImage("assets/girl.png");
bjp = loadImage("assets/news2.png");
dalitwoman = loadImage("assets/news3.png");
girlfamily = loadImage("assets/girlfamily.png");
justice = loadImage("assets/justice.png");
rape = loadImage("assets/rape.png");
discrimination = loadImage("assets/discrimination.png");
}
function setup() {
createCanvas(600, 600);
textFont('Georgia');
noStroke();
textStyle(BOLD);
}
function draw() {
background(255);
noStroke();
//IMAGES of Newspaper
image(toi, 0, 0, 600, 110);
image(girlreport, 0, 150, 460, 110); //I wanted to live
image(dalitlives, 460, 105, 140, 90);
image(girl, 0, 260, 200, 90);
image(bjp, -20, 375, 220, 130);
image(dalitwoman, 460, 250, 140, 170);
image(girlfamily, 200, 390, 180, 100);
image(justice, 190, 512, 200, 130);
image(rape, 380, 463, 290, 170);
image(discrimination,0,515,190,100);
/// user defined -functions
protest()
womanlife();
words();
flag();
dalit();
makejustice();
bjpmp();
//blendmode being used if mouse is pressed
if (mouseIsPressed) {
blendMode(DARKEST);
fill(199, 53, 35); //pink
rect(mouseX, mouseY, 250, 60);
} else {
blendMode(BLEND);
}
}
function womanlife() {
textSize(13);
fill(0, 235, 25, 12);
text("I", 134, 126); //SECRET
fill(0, 235, 255, 12);
text("WANTED", 187, 126); //SECRET
fill(0, 235, 255, 12);
text("TO", 255, 126); //SECRET
console.log(mouseX, mouseY)
fill(0, 235, 255, 12);
text("L", 365, 143); //SECRET
fill(0, 235, 255, 12);
text("IVE", 428, 143); //SECRET
if (mouseIsPressed) {
let a = "'MY DAUGHTER SAID SHE WANTED TO COME HOME...\n SHE WAS CONSCIOUS AGAIN I THOUGHT SHE WOULD SURVIVE'";
fill(255, 0, 255, 200);
text(a, 0, 126); //PINK-TEXT
} else {
let a = "'MY DAUGHTER SAID SHE WANTED TO COME HOME...\n SHE WAS CONSCIOUS AGAIN I THOUGHT SHE WOULD SURVIVE'";
fill(0);
text(a, 0, 126); //BLACK-TEXT
}
}
function protest() {
textSize(11.7);
//Fill color changes from black
if (mouseIsPressed) {
let p = " INDIA AGAINST RAPE: PUBLIC \n UNITE OVER DELHI HORROR \nDEMAND FOR DEATH OF RAPISTS"
fill(255, 0, 255, 200)
text(p, 382, 430); //COLORED-TEXT
} else {
let p = " INDIA AGAINST RAPE: PUBLIC \n UNITE OVER DELHI HORROR \nDEMAND FOR DEATH OF RAPISTS"
fill(0);
text(p, 382, 430); //BLACK-TEXT
}
//Secret message - Another Delhi Horror, Demand Death of Rapists
textSize(10.5);
fill(0, 235, 255, 12);
text("ANOTHER", 433, 430); //SECRET
textSize(11.5);
fill(0, 235, 255, 12);
text("DELHI", 477, 444); //SECRET
fill(0, 235, 255, 12);
text("HORROR", 523, 444); //SECRET
fill(0, 235, 255, 12);
text("DEMAND", 382, 459); //SECRET
fill(0, 235, 255, 12);
text("DEATH OF RAPISTS", 474, 459); //SECRET
}
function dalit() {
//Colour changes from Black to Pink
textSize(12.5);
if (mouseIsPressed) {
let d = "DALIT SHOT DEAD \nBY 4 UPPER CASTE\nMEN OVER TEMPLE"
fill(255, 0, 255, 200)
text(d, 463, 210); //COLORED-TEXT
} else {
let d = "DALIT SHOT DEAD \nBY 4 UPPER CASTE\nMEN OVER TEMPLE"
fill(0);
text(d, 463, 210); //BLACK-TEXT
}
//Secret keywords - Dalit Women & Caste
fill(0, 235, 255, 12);
text("DALIT", 463, 210); //SECRET
fill(0, 235, 255, 12);
text("WOMEN", 438, 241); //SECRET
fill(0, 235, 255, 12);
text("CASTE", 547, 226); //SECRET
} function makejustice() {
//Colour changes from Black to Pink
textSize(9.5);
if (mouseIsPressed) {
let j = "JUSTICE CAN NEVER BE INSTANT,\n TAKE THE FORM OF REVENGE"
fill(255, 0, 255, 200)
text(j, 200, 499); //COLORED-TEXT
} else {
let j = "JUSTICE CAN NEVER BE INSTANT,\n TAKE THE FORM OF REVENGE"
fill(0);
text(j, 200, 499); //BLACK-TEXT
}
//Secret message for audience - Take Justice, Never Revenge
fill(0, 235, 255, 12);
text('JUSTICE', 200, 499); //SECRET
fill(0, 235, 255, 12);
text('NEVER', 271, 499); //SECRET
fill(0, 235, 255,12);
text('TAKE', 202, 511); //SECRET
fill(0, 235, 255,12);
text('REVENGE', 308, 511); //SECRET
} function words() {
//Additional Keywords - Indian Politics changes to We want justice
if (mouseIsPressed) {
fill(0, 235, 255,12);
text("WE WANT JUSTICE", 15, 435); //SECRET
} else {
fill(255,0,80);
text("INDIAN POLITICS", 15, 435);
}
// Additional Keywords - Remove Caste System to Rape and Murder
textSize(10);
if (mouseIsPressed) {
fill(0, 235, 255,12);
text("RAPE AND MURDER", 305, 200); //SECRET
} else {
fill(255,0,80);
text("REMOVE CASTE SYSTEM", 305, 200);
}
// Additional Keywords - Remove Caste System to Rape and Murder
textSize(11);
if (mouseIsPressed) {
fill(0, 235, 255,12);
text("HATHRAS \nRAPE CASE", 383, 400);//SECRET
} else {
textSize(9.5);
fill(255,0,80);
text("RAPE SPREADS\nLIKE EPIDEMIC", 381, 400);
}
//Additional Keywords - Sex without consent is Rape changes to Physical Abuse
textSize(10);
if (mouseIsPressed) {
fill(0, 235, 255,12);
text("PHYSICAL ABUSE", 100, 238); //SECRET
} else {
fill(255,0,80);
text("SEX WITHOUT CONSENT IS RAPE", 100, 238);
}
textSize(10);
//Additional Keywords - Narendra Modi ,( Prime Minister) changes to BJP
if (mouseIsPressed) {
fill(0, 235, 255,12);
text("BHARATIYA \nJANATA \nPARTY - BJP", 245,90); //SECRET
} else {
fill(255,0,80);
text("NARENDRA MODI", 245,100);
}
//circles - highlighting the important keywords from the theme
// using for loop to create the sphere by rotating rectagles in high speed
if (mouseIsPressed) {
push();
translate(470,230);
for(let x=0;x<5;x++)
{
rotate (40+speed);
fill(0, 235, 255,12)
rect(x+50,10,3,10);
}
speed = speed+90;
pop();
}
if (mouseIsPressed) {
push();
translate(30,365);
for(let k=0;k<5;k++)
{
rotate(10+speed);
fill(0, 235, 255,12)
rect(k+50,10,3,7);
}
speed = speed+20;
pop();
} if (mouseIsPressed) {
push();
translate(200,480);
for(let u=0;u<5;u++)
{
rotate (40+speed);
fill(0, 235, 255,12)
rect(u+50,10,3,10);
}
speed = speed+90;
pop();
} if (mouseIsPressed) {
push();
translate(150,220);
for(let u=0;u<5;u++)
{
rotate (40+speed);
fill(0, 235, 255,12)
rect(u+50,10,3,10);
}
speed = speed+90;
pop();
}if (mouseIsPressed) {
push();
translate(530,440);
for(let u=0;u<5;u++)
{
rotate (40+speed);
fill(0, 235, 255,12)
rect(u+50,10,3,10);
}
speed = speed+90;
pop();
}if (mouseIsPressed) {
push();
translate(270,80);
for(let u=0;u<5;u++)
{
rotate (40+speed);
fill(0, 235, 255,12)
rect(u+50,10,3,10);
}
speed = speed+90;
pop();
}
} function bjpmp() {
//Black text to colored text
textSize(10);
if (mouseIsPressed) {
let l = "HATHRAS GANG RAPE EXPOSES BJP\nEVIL LEADERS AND DIRTY POLITICS"
fill(255, 0, 255, 200)
text(l, 2,361); //PINK-TEXT
} else {
let l = "HATHRAS GANG RAPE EXPOSES BJP\nEVIL LEADERS AND DIRTY POLITICS"
fill(0);
text(l, 2, 361); //BLACK-TEXT
}
fill(0, 235, 255,12);
text('BJP', 180, 361); //SECRET
fill(0, 235, 255,12);
text('EVIL LEADERS', 2, 373); //SECRET
//black text to colored text
textSize(7.5);
if (mouseIsPressed) {
let h = "'DISCRIMINATION SHOWS SOCIETY FAILURE'"
fill(255, 0, 255, 200)
text(h, 2,513); //PINK-TEXT
} else {
let h = "'DISCRIMINATION SHOWS SOCIETY FAILURE'"
fill(0);
text(h, 2, 513); //BLACK-TEXT
}
fill(0, 235, 255,12);
text('DISCRIMINATION', 2, 513); //SECRET
}function flag() {
//Dalit- lives- matter
//Justice for Victims
if (mouseIsPressed) {
for (let v=0;v<13;v++) {
textSize(8);
fill(0);
text(' JUSTICE FOR VICTIMS',200,10*v+262);
}
}
if (mouseIsPressed) {
for (let e=0;e<13;e++) {
textSize(8);
fill(0);
text(' DALIT LIVES MATTER',360,10*e+262);
}
}
//Flag - using for loop to create the wheel by rotating lines at high speed
push();
translate(330, 320);
for (let i = 0; i < 63; i++) {
fill(20, 46, 99);
rotate(30 + speed);
rect(0, 4, 2, 20);
}
speed = speed + 12;
pop();
fill(244, 126, 40,245); //ORANGE
rect(202, 250, 255, 46);
fill(100, 200, 100,245); //GREEN
rect(202, 341, 255, 46);
//flag wheel
push();
fill(20, 46, 99);
ellipse(330, 320, 12, 12);
stroke(20, 46, 99);
strokeWeight(4);
noFill();
ellipse(330, 320, 47, 47);
pop();
}