GithubHelp home page GithubHelp logo

emjose / model-minority-myth Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 60.38 MB

A scratch reveal effect of the text "not your model minority" in regards to addressing anti-Asian hate and racism.

Home Page: https://emjose.github.io/model-minority-myth/

HTML 45.37% CSS 16.16% JavaScript 38.47%
stop-asian-hate stop-aapi-hate model-minority-myth 100daysofcode

model-minority-myth's Introduction

previous 100 days of code next

Model Minority Myth


Model Minority Myth

Table of Contents


#100DaysOfCode

Day 26: April 5, 2021

  • During the Covid-19 pandemic, there has been a marked increase in anti-Asian sentiment and racism in the United States.

  • On March 16th, 2021, a mass shooting occured in three Atlanta spas and massage parlors. Eight people were killed, six of whom were Asian women.

  • As an Asian and a Filipino-American, I've been at a loss for words with current events. As a way of beginning to articulate my thoughts, I worked on this mini project with a scratch effect revealing the myth of the "model minority."

  • The "model minority" myth is the "one-size-fits-all" and stereotypical perception of Asians being a "polite, law-abiding group who have achieved a higher level of success than the general population through some combination of innate talent and pull-yourselves-up-by-your-bootstraps immigrant striving." Source: Learning for Justice.


Installation

1. Git clone and cd into the repo folder:

git clone [email protected]:emjose/model-minority-myth.git && cd model-minority-myth

2. Run the command:

open index.html

3. On your device, move the cursor around to see the reveal effect.


Issues

In the script.js file:

const bubbles = document.createElement("span");
bubbles.style.left = -75 + e.offsetX + "px";
bubbles.style.top = -75 + e.offsetY + "px";
body.appendChild(bubbles);
  • The JavaScript function for the mousemove event creates a span element.

  • For the span to exceed the browser's frame, offset values are added to the mouse coordinates.

Live Site

  • Due to the offset in pixel values, the span can appeared warped or rippled.

  • This warping is most apparent at the bottom of the browser frame.


Live Site

Live Site

Model Minority Myth is best viewed on a desktop or laptop computer browser.

Model Minority Myth is a progressive web app.


Resources


Copyright


Say Hello

Twitter badge Linkedin badge Medium badge Instagram badge Gmail badge Portfolio badge Github badge

Back to Top

model-minority-myth's People

Contributors

emjose avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.