Raycasting engine in factorio

This board is to show, discuss and archive useful combinator- and logic-creations.
Smart triggering, counters and sensors, useful circuitry, switching as an art :), computers.
Please provide if possible always a blueprint of your creation.
Qon
Smart Inserter
Smart Inserter
Posts: 2119
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: Raycasting engine in factorio

Post by Qon »

arrow in my gluteus wrote:
Tue May 26, 2020 6:47 pm
if anyone is interested you can follow along with the development of version 2.0 of this raycasting engine on my second channel: https://www.youtube.com/playlist?list=P ... Le9xX_7tjb
I love it! Already subscribed and watching your progress though ;)

jade52blue
Burner Inserter
Burner Inserter
Posts: 6
Joined: Tue Oct 13, 2020 2:42 am
Contact:

Re: Raycasting engine in factorio

Post by jade52blue »

This is so cool! I'm feeling inspired to build out a CPU in factorio, and i hadn't really thought of a raycaster but i'm definitely going to try to build toward something similar :)

User avatar
arrow in my gluteus
Long Handed Inserter
Long Handed Inserter
Posts: 56
Joined: Mon Apr 24, 2017 1:52 pm
Contact:

Re: Raycasting engine in factorio

Post by arrow in my gluteus »

I've created a new video, explaining how I did sin() and cos(): https://www.youtube.com/watch?v=FSy9UKs9eeY

Amarula
Filter Inserter
Filter Inserter
Posts: 511
Joined: Fri Apr 27, 2018 1:29 pm
Contact:

Re: Raycasting engine in factorio

Post by Amarula »

This is amazing! Thank you!
My own personal Factorio super-power - running out of power.

User avatar
NotRexButCaesar
Smart Inserter
Smart Inserter
Posts: 1120
Joined: Sun Feb 16, 2020 12:47 am
Contact:

Re: Raycasting engine in factorio

Post by NotRexButCaesar »

I was surprised how accurate the approximation was. It's almost like it was made my Ramanujan or something.
—Crevez, chiens, si vous n'étes pas contents!

MrRozdor
Burner Inserter
Burner Inserter
Posts: 7
Joined: Wed Jun 01, 2016 3:23 am
Contact:

Re: Raycasting engine in factorio

Post by MrRozdor »

If you're interested, I've made sin(x) with precision 10^-9 using taylor series. Computation of sin(pi/3) takes 29 ticks.
Image

Post Reply

Return to “Combinator Creations”