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: 1528
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: 55
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: 337
Joined: Fri Apr 27, 2018 1:29 pm
Contact:

Re: Raycasting engine in factorio

Post by Amarula »

This is amazing! Thank you!
Luck is not a robust control.

User avatar
AmericanPatriot
Filter Inserter
Filter Inserter
Posts: 470
Joined: Sun Feb 16, 2020 12:47 am
Contact:

Re: Raycasting engine in factorio

Post by AmericanPatriot »

I was surprised how accurate the approximation was. It's almost like it was made my Ramanujan or something.
Sarcasm and insults are generally neither helpful nor appreciated. :D

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”

Who is online

Users browsing this forum: No registered users