Ripples

Size
1,969 Kb
Views
40,480

How do I make an ripples?

What is a ripples? How do you make a ripples? This script and codes were developed by Tina Anastopoulos on 31 August 2022, Wednesday.

Ripples Previews

Ripples - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Ripples</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <script src='https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Ripples - Script Codes CSS Codes

body { background: #323232;
}
canvas { display: block; margin: auto;
}

Ripples - Script Codes JS Codes

var circles = 12,	delta = 0,	frames = 100;
function setup() { createCanvas(450, 450);
}
function draw() { background(50); stroke(0,200,200);	noFill(); for (var i=0; i<circles; i++) { var size = i*35; var weight = map(sin(delta+TWO_PI/circles*i), -1, 1, 1, 16); strokeWeight(weight); ellipse(width/2, height/2, size, size); } delta += TWO_PI/frames;
}
Ripples - Script Codes
Ripples - Script Codes
Home Page Home
Developer Tina Anastopoulos
Username TWAIN
Uploaded August 31, 2022
Rating 4.5
Size 1,969 Kb
Views 40,480
Do you need developer help for Ripples?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Tina Anastopoulos (TWAIN) Script Codes
Create amazing art & images with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!