All aboard as I attempt to simulate the artistic process of paper marbling. The algorithm is based on the paper 'Mathematical Marbling' by S. Lu, A. Jaffer, X. Jin, H. Zhao, and X. Mao. The code is written in JavaScript using the p5.js library. Code: thecodingtrain.com/challenges...
🚀 Watch this video ad-free on Nebula nebula.tv/videos/codingtrain-...
p5.js Web Editor Sketches:
🕹️ Mathematical Marbling: editor.p5js.org/codingtrain/s...
🕹️ Dodecahedron: editor.p5js.org/codingtrain/s...
🕹️ Marbling Phyllotaxis: editor.p5js.org/codingtrain/s...
🕹️ Marbling Mouse: editor.p5js.org/codingtrain/s...
🕹️ Marbling Color: editor.p5js.org/codingtrain/s...
🕹️ Marbling Combs: editor.p5js.org/codingtrain/s...
🕹️ Marbling Raster Pixels: editor.p5js.org/codingtrain/s...
🕹️ Marbling Raster Pixels - Image: editor.p5js.org/codingtrain/s...
🕹️ Marbling Raster Pixels - Video: editor.p5js.org/codingtrain/s...
🕹️ Marbling Color - animate ink: editor.p5js.org/codingtrain/s...
🕹️ handPose Marbling: editor.p5js.org/codingtrain/s...
🎥 Previous: • Coding Challenge 182: ...
🎥 All: • Coding Challenges
References:
🔗 Paper Marbling: en.wikipedia.org/wiki/Paper_m...
🔗 Tokutaro Yagi: suminagashi.com/meet-the-arti...
🔗 Digital Marbling: blog.amandaghassaei.com/2022/...
📄 Mathematical Marbling: doi.org/10.1109/MCG.2011.51
🔗 Mathematical Marbling: people.csail.mit.edu/jaffer/M...
Videos:
🎥 The Hydrodynamics of Marbling Art: gfm.aps.org/meetings/dfd-2023...
🎥 • 3.4 Polar Coordinates ...
Related Coding Challenges:
🚂 • Coding Challenge #56: ...
🚂 • Coding Challenge 102: ...
🚂 • Coding Challenge #132:...
🚂 • Coding Challenge 177: ...
Timestamps:
0:00 Introduction
1:47 Mathematical Marbling
2:16 Explain approach
3:20 Start Coding
4:20 Dropping paint
7:03 Add the circle vertices using polar coordinates
10:57 Add a marble function
13:24 Refine the algorithm
16:45 Add a tine function
19:46 Circle detail
24:50 Generalize the tine function
29:43 Possible variations
31:45 Outro
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
🚂 Website: thecodingtrain.com/
👾 Share Your Creation! thecodingtrain.com/guides/pas...
🚩 Suggest Topics: github.com/CodingTrain/Sugges...
💡 GitHub: github.com/CodingTrain
💬 Discord: thecodingtrain.com/discord
💖 Membership: kzitem.infojoin
🛒 Store: standard.tv/codingtrain
🖋️ Twitter: / thecodingtrain
📸 Instagram: / the.coding.train
🎥 • Coding Challenges
🎥 • Start learning here!
🔗 p5.js: p5js.org
🔗 p5.js Web Editor: editor.p5js.org/
🔗 Processing: processing.org
📄 Code of Conduct: github.com/CodingTrain/Code-o...
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecod...
#mathematicalmarbling #fluidsimulation #p5js #javascript
Негізгі бет Coding Challenge 183: Paper Marbling Algorithm
Пікірлер: 112