import * as THREE from "three"; import {OrbitControls} from "three/examples/jsm/controls/OrbitControls.js"; // Canvas const canvas = document.querySelector("canvas.webgl"); // Scene const scene = new THREE.Scene(); /** * Particles */ const particlesGeometry = new THREE.PlaneGeometry(3, 3, 20, 20); particlesGeometry.rotateX(-Math.PI / 2.2); // Vertex shader code const vertexShader = ` uniform float size; uniform float time; uniform float amplitude; uniform float frequency; uniform float phaseOffset; void main() { // Calculate the displacement based on time and position float wavePhase = position.x * frequency + time + phaseOffset; vec3 newPosition = position + vec3(0.0, sin(position.x * 2.0 + time) * amplitude, 0.0); // Transform the vertex position as usual vec4 mvPosition = modelViewMatrix * vec4( newPosition, 1.0 ); gl_PointSize = size * ( 300.0 / -mvPosition.z ); gl_Position = projectionMatrix * mvPosition; } `; // Fragment shader code const fragmentShader = ` uniform vec3 color; void main() { gl_FragColor = vec4( color, 1.0 ); float dist = distance(gl_PointCoord, vec2(0.5, 0.5)); if (dist > 0.5) discard; } `; const particlesMaterial = new THREE.ShaderMaterial({ uniforms: { size: {value: 0.04}, // Pink color: {value: new THREE.Color(0.886, 0.176, 0.431)}, time: {value: 0}, amplitude: {value: 0.3}, }, vertexShader: vertexShader, fragmentShader: fragmentShader, transparent: true, }); const particles = new THREE.Points(particlesGeometry, particlesMaterial); scene.add(particles); /** * Sizes */ const sizes = { width: window.innerWidth, height: window.innerHeight, }; window.addEventListener("resize", function () { // Update sizes sizes.width = window.innerWidth; sizes.height = window.innerHeight; // Update camera camera.aspect = sizes.width / sizes.height; camera.updateProjectionMatrix(); // Update renderer renderer.setSize(sizes.width, sizes.height); renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2)); }); /** * Camera */ // Base camera const camera = new THREE.PerspectiveCamera( 75, sizes.width / sizes.height, 0.1, 100 ); camera.position.z = 3; scene.add(camera); // Controls const controls = new OrbitControls(camera, canvas); controls.enableDamping = true; /** * Renderer */ const renderer = new THREE.WebGLRenderer({ canvas: canvas, alpha: true, }); renderer.setSize(sizes.width, sizes.height); renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2)); /** * Animate */ const clock = new THREE.Clock(); const cameraMovementSpeed = 0.09; const cameraZOffset = 1.5; const tick = function () { const elapsedTime = clock.getElapsedTime(); // Update controls controls.update(); // Move the camera back and forth camera.position.x = Math.sin(elapsedTime * cameraMovementSpeed) * 1; // Adjust the amplitude as per your scene camera.position.z = cameraZOffset; // Look at the center of the scene camera.lookAt(scene.position); particlesMaterial.uniforms.time.value = elapsedTime; // Render renderer.render(scene, camera); // Call tick again on the next frame window.requestAnimationFrame(tick); }; tick();
Every day, extraordinary women are making waves in the pursuit of global gender equalitry and social change that benefits us all. Each week, Women's Voices Now features the women who are making those waves around the world. We aim to inspire our audicences through these stories and to let those women making waves know that we are watching and following their example!
Record-Breaking Viewership: Women's World Cup Dominates as Most-Watched Show

Record-Breaking Viewership: Women’s World Cup Dominates as Most-Watched Show

Women's World Cup Dominates as Most-Watched Show. The Women’s World Cup was the most-watched show on television as it broke records for the highest-ever English language viewership of a group stage match in women’s FIFA WorldRead More »
‘Barbie’ Breaks Box Office Records: Greta Gerwig Empowers Women Directors Everywhere

Barbie Director Greta Gerwig Empowers Women Everywhere

‘Barbie’ Breaks Box Office Records: Greta Gerwig Empowers Women Directors Everywhere. Greta Gerwig made history this weekend when Barbie achieved the biggest debut ever for a film directed by a woman. Her success will undoubtedly helpRead More »
Breaking The Silence on Femicide in Mexico

Breaking The Silence on Femicide in Mexico

Breaking The Silence on Femicide in Mexico. Mexican women who survived attempted femicide are turning their haunting experiences into a struggle for justice.By Rachel “Sink” Lindsay Staggering Stats. In Mexico, some 10 women and girls are killedRead More »
Conflict in Sudan: Women's Organizations Fight Against Sexual Violence

Conflict in Sudan: Women’s Organizations Fight Against Sexual Violence

Women's Fight Against Sexual Violence Amid Conflict In Sudan. Since the recent conflict outbreak in Sudan, women, girls and people of all genders are facing another, often less visible threat: heightened sexual and gender-based violence.By RachelRead More »
Indigenous Women in Guyana Fight Against Climate Change

Indigenous Women in Guyana Fight Against Climate Change

Indigenous Women in Guyana Fight Against Climate Change. A small group of Indigenous women in northern Guyana have joined the fight against climate change.By Rachel “Sink” Lindsay Women-Led Climate Protection. A small group of Indigenous womenRead More »
Tori Bowie's Fatal Childbirth and Black American Mothers' Risk

Tori Bowie’s Fatal Childbirth and Black American Mothers’ Risk

Tori Bowie's Fatal Childbirth and Black American Mothers' Risk. Olympian Tori Bowie’s sudden death due to complications during labor reignites the important conversation of Black maternal health By Rachel “Sink” Lindsay What Happened. Tori Bowie, anRead More »
Women Politicians in Uganda Stand Up to Online Abuse

Women Politicians in Uganda Stand Up to Online Abuse

Women Politicians in Uganda Stand Up to Online Abuse. From hate speech to physical threats, these women politicians in Uganda boldly fight against the alarming reality of online abuse.By Rachel “Sink” Lindsay Online Abuse to DiscourageRead More »
Women Activists Challenging Period Taboos in Pakistan

Women Activists Challenging Period Taboos in Pakistan

Women Activists Challenging Period Taboos in Pakistan. Facing threats and alienation, women push for menstrual awareness in a country where women’s health taboos limit rights.By Rachel “Sink” Lindsay Pakistan Floods. Last year, more than 33 millionRead More »
5 Ways To Fight For Gender Equality At Home

5 Ways To Fight For Gender Equality At Home

5 Ways to Fight for Gender Equality at Home Families around the world are on the front lines of the struggle for gender equality. Here are five ways families can help build a more equal futureRead More »
Tshering Tshomo: The Sole Woman Shaping Bhutan's Political Future

Tshering Tshomo: The Sole Woman Shaping Bhutan’s Political Future

Tshering Tshomo: The Sole Woman Shaping Bhutan's Political Future. In Bhutan’s 2023 National Council elections, only one woman was elected. Despite progress, women still face challenges to political participation. By Rachel “Sink” Lindsay One Woman Wins.Read More »
Mother-Daughter Science Team Up To Discover New Worlds

Mother-Daughter Science Team Up To Discover New Worlds

Mother-Daughter Science Team Up To Discover New Worlds . This Mother's Day, let's take a moment to honor the incredible achievements of this inspiring mother-daughter science duo and all the mothers and daughters out there whoRead More »
How ‘90s Black Women Shaped Modern Music

Revolutionizing Hip Hop & House: How ‘90s Black Women Shaped Modern Music

Revolutionizing Hip Hop & House: How ‘90s Black Women Shaped Modern Music. Since hip-hop and house music’s inception, Black women have played a critical role in shaping and expanding the genres. Though many of their contributionsRead More »
6 Trailblazing Women Defending The Environment Around The World

6 Trailblazing Women Defending The Environment Around The World

Meet 6 Trailblazing Women Defending The Environment Around The World . In honor of this year’s upcoming Earth Day, we’re celebrating six trailblazing women defending the environment and leading the charge in the fight against climateRead More »
5 Decades of Hidden Horror: The Mass Rape Suffered by Bengali Women and Girls

5 Decades of Hidden Horror: Mass Rape Suffered by Bengali Women and Girls

5 Decades of Hidden Horror: The Mass Rape Suffered by Bengali Women and Girls. In 1971, the Pakistan army began a brutal crackdown against Bengalis in which hundreds of thousands of women were detained and repeatedlyRead More »
satoko kishimoto, Female Mayor in Tokyo Fighting Japan's Sexism

Female Mayor Satoko Kishimoto Fights Sexism in Japan

Female Mayor Satoko Kishimoto Fights Sexism in Japan. How Satoko Kishimoto is advocating for women’s rights and social change through local government. By Rachel “Sink” Lindsay Beating The Odds and Making History. In June 2022, SatokoRead More »
4 History-Making Moments For Women at the 2023 Oscars - Slide 1 (Source Getty)

4 History-Making Moments For Women at the 2023 Oscars

4 History-Making Moments For Women at the 2023 Oscars. At this year's Oscars ceremony, women made history in new, exciting ways. By Rachel “Sink” Lindsay MICHELLE YEOH. First Asian Woman to Win Best Actress.Michelle Yeoh won theRead More »
Slide 1 - Why Women Making Waves Is So Vital Today (Source CameraCraft _ Shutterstock)

Why Women Making Waves Is So Vital Today

Why Women Making Waves Is So Vital Today. Lately, it may seem like women's rights have been going through a regression. That's because... they are. From reproductive rights to murders of women speaking up for theirRead More »

Female Trailblazers Throughout History

Female Trailblazers Throughout History. Stories of women who fought for change by striking out on their own paths. By Rachel “Sink” Lindsay MADAM C.J. WALKER . First Black female self-made millionaire in America. Walker made herRead More »
1 2 3 4

2024 Girls Voices Now Summer Media Training Program applications are now open