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: 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. p5.js Web Editor Sketches: 🕹️ ASCII video: 🕹️ ASCII image canvas: 🕹️ ASCII image dom: 🕹️ ASCII text: 🕹️ ASCII weather api: đŸŽĨ Previous video: đŸŽĨ All videos: Links discussed in this video: 🔗 ASCII play by ertdfgcvb: 🔗 HTML Entity: 🔗 HTML div: 🔗 p5.js loadPixels(): 🔗 p5.js brightness(): 🔗 CodingTrainChooChoo on Twitch: Other videos mentioned in this video: đŸŽĨ The Pixel Array: đŸŽĨ Basics of CSS: đŸŽĨ p5.js Web Editor - Uploading Media Files: 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: