Friday, March 11, 2022

Scanning laser microscope



3D printed, scanning laser confocal microscope so I could collect 3D surface topology and profilometry data! The microscope stage is based on an OpenFlexure "Delta" stage, and the confocal optics are constructed with a 3D printed body, some lenses, a 405nm laser, pinhole and photodiode. The microscope is controlled by a Raspberry Pi (which controls an arduino to move the steppers). It's not beautiful, it takes forever to scan, and the images are of dubious quality... but it works! OpenFlexure: https://openflexure.org/ 0:00 Intro 1:56 Confocal vs Widefield Microscopy 3:25 OpenFlexure Motion Platform 4:01 Confocal optical breakdown 8:00 Delta motion stage 8:43 Photodiode amplifier 9:14 Confocal Pinhole demonstration 10:31 Camera vs Photodiode 11:31 Data processing considerations 14:05 Images and results! 18:22 Optimizations 21:37 Discord! Come hang out with us!

Thursday, March 10, 2022

ASCII Video (Coding Challenge 166)



Let's make ASCII art in p5.js together! In this video, I demonstrate a variety of techniques for translating the pixels of an image into text and finish with rendering video as text ASCII characters in a DOM. https://thecodingtrain.com/CodingChal... p5.js Web Editor Sketches: 🕹️ ASCII video: https://editor.p5js.org/codingtrain/s... 🕹️ ASCII image canvas: https://editor.p5js.org/codingtrain/s... 🕹️ ASCII image dom: https://editor.p5js.org/codingtrain/s... 🕹️ ASCII text: https://editor.p5js.org/codingtrain/s... 🕹️ ASCII weather api: https://editor.p5js.org/codingtrain/s... đŸŽĨ Previous video: https://youtu.be/PbPUgyql5p4?list=PLR... đŸŽĨ All videos: https://www.youtube.com/playlist?list... Links discussed in this video: 🔗 ASCII play by ertdfgcvb: https://play.ertdfgcvb.xyz/ 🔗 HTML Entity: https://developer.mozilla.org/en-US/d... 🔗 HTML div: https://developer.mozilla.org/en-US/d... 🔗 p5.js loadPixels(): https://p5js.org/reference/#/p5/loadP... 🔗 p5.js brightness(): https://p5js.org/reference/#/p5/brigh... 🔗 CodingTrainChooChoo on Twitch: https://www.twitch.tv/codingtrainchoo... Other videos mentioned in this video: đŸŽĨ The Pixel Array: https://youtu.be/nMUMZ5YRxHI đŸŽĨ Basics of CSS: https://youtu.be/zGL8q8iQSQw đŸŽĨ p5.js Web Editor - Uploading Media Files: https://youtu.be/rO6M5hj0V-o Timestamps: 0:00 Welcome! Choo choo! 0:28 Introducing Today’s Topic 1:39 Pixel to ASCII 4:52 Pixelating an image 7:03 Pixel Array Explanation 8:40 Back to the code 10:18 Adding Text 11:04 Mapping Brightness to Characters 13:26 Switching from canvas to DOM 18:10 Real-time ASCII video 20:10 Some refinemens 21:29 See you next time! 🚂 Website: http://thecodingtrain.com/