nickpow43
Re:Collision Detection (2015)
on Sunday January 21, 2024 @11:56AM (#39080174)
Very cool, If it isn't mentioned elsewhere I'd add a note that often times you can avoid the expensive sqrt calculation. For example the last if statement in
https://www.jeffreythompson.org/collision-detection/circle-r...
could be optimized by instead just checking if distanceSqr < (radius * radius)
Re:Wokwi – Simulate IoT Projects in the Browser
on Tuesday August 16, 2022 @08:44PM (#32490945)
Very cool project. I was curious if it would simulate frying the board when you short circuit the power pins but didn't see anything happen. This quote from the docs is right but should probably come with a disclaimer that what works in the simulation may destroy your hardware in reality.
"Mistakes are okay. You can't destroy the virtual hardware. Trust us, we tried. So don't worry about frying your precious components. And unlike real hardware, you can always undo."
Re:Do You Drink and Code?
on Saturday May 07, 2022 @06:10PM (#31299098)
Ha. I haven't been told this but I feel like I am a lot better in a professional environment after a few drinks. Sober me is just so rigid and hard to engage. I guess this is true for most people though.
Re:Introducing the layer based SVG engine
on Monday November 01, 2021 @06:52PM (#29074319)
I suppose you could use a <foreignObject> for that.
Re:What's New in React 18?
on Thursday September 30, 2021 @03:24AM (#28703969)
I know you said you are not expecting informed suggestions but it got me thinking of another solution that has not been proposed. If the right ui is low priority and you want to unblock the left window's thread then maybe just a iframe for the right side would separate the work loads completely.
Re:What it's like to spend 40-50 hours in VR every week
on Tuesday September 28, 2021 @07:26AM (#28681521)
ideally it would render stereoscopically but I imagine since most 3D applications control the camera themselves this will be difficult to make work across all things. 3D using css may work since it is up to the browser how it gets rendered.
Re:Apple proposes adding "model" element to HTML that displays 3D content
on Tuesday August 31, 2021 @01:26PM (#28370906)
<geometry> would be nice.