2022 - Non-Euclidean Doom: what happens to a game when pi is not 3.14159…

WHY2025 July 24, 2022
Video Thumbnail

About

No channel description available.

Latest Posts

Video Description

Since this is a very popular video; did you know the follow up Dutch Camp where we have talks like this is coming August this year?! August 8-12 2025, 42 KM above Amsterdam. Please visit www.why2025.org to find out more and get your tickets! https://media.ccc.de/v/mch2022-236-non-euclidean-doom-what-happens-to-a-game-when-pi-is-not-3-14159- We all know that the value of pi is a constant with a particular immutable value. Anyone who has done any graphical programming also knows that visual rendering relies not just on pi but trigonometry more broadly as well as other mathematical techniques. If we look into the source code of the first person shooter Doom we find that the value of pi used in the game is wrong. In this talk I will explore what happens when we subtly and not so subtly break math in the source. Doom is a well known classic first person shooter game with source code released under the GPL in 1999. In this talk I will begin by exploring what happens to the game when we make the value of pi even more wrong. What about when we change other trigonometric functions and constants to incorrect values? How will our familiar understanding and ability to traverse this virtual world change when we do this. Are there any interesting gaming possibilities with non-Euclidean geometries? A brief segway will cover some optimization tricks made to enable the game to run well on hardware available at the time. At the end I will provide a link to other games and public source code repositories that also use an incorrect value of pi. Pointers will also be provided to allow the audience to compile their own incorrect math version of the game. Luke Gotszling https://program.mch2022.org/mch2022/talk/ZM99EG/ #mch2022 #MCH2022Curatedcontent

You May Also Like

Essential Game Dev Tools

AI-recommended products based on this video

Loading...
Steam cleaner, multi-purpose steam engine with 21 accessories, 248 ° F high-temperature steam, suitable for floors, kitchen oil stains, tiles, carpets, cars, toilets

Steam cleaner, multi-purpose steam engine with 21 accessories, 248 ° F high-temperature steam, suitable for floors, kitchen oil stains, tiles, carpets, cars, toilets

(78)
$125.99
FREE delivery Sun, Apr 5
700+ bought in past month
Loading...
KLONA Handheld Steam Cleaner, Steam Cleaner for Home with 10 Accessory Kit, Multipurpose Portable Upholstery Steamer Cleaning with Safety Lock to Remove Grime, Grease.

KLONA Handheld Steam Cleaner, Steam Cleaner for Home with 10 Accessory Kit, Multipurpose Portable Upholstery Steamer Cleaning with Safety Lock to Remove Grime, Grease.

(67)
$52.99
FREE delivery Sun, Mar 22
Loading...
Steam Cleaner Handheld for Home-500ml Large Capacity Steam Cleaner with 16 Accessories, Auto Continuous Steam & Safety Lock, Multi-Purpose for Kitchen Grease, Bathroom Grout (Grey/White)

Steam Cleaner Handheld for Home-500ml Large Capacity Steam Cleaner with 16 Accessories, Auto Continuous Steam & Safety Lock, Multi-Purpose for Kitchen Grease, Bathroom Grout (Grey/White)

(119)
$59.99
FREE delivery Wed, Mar 18
5K+ bought in past month
Loading...
Steam Cleaner, Multipurpose Powerful Steamer with 21 Accessories, 248°F High-Temperature Steam for Floors, Grout, Tiles, Carpet, Cars - Portable 1.08L Tank, Child Lock, Chemical-Free Cleaning (White)

Steam Cleaner, Multipurpose Powerful Steamer with 21 Accessories, 248°F High-Temperature Steam for Floors, Grout, Tiles, Carpet, Cars - Portable 1.08L Tank, Child Lock, Chemical-Free Cleaning (White)

(74)
$125.99
FREE delivery Wed, Jan 7
Loading...
Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black
Best Seller

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

(17,871)
$27.98$22.38
FREE delivery Tue, Oct 14 on your first order
500+ bought in past month
Loading...
Logitech G305 Lightspeed Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

Logitech G305 Lightspeed Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

(35,879)
$49.99$44.99
FREE delivery Mon, Jan 26
1K+ bought in past month
Loading...
Logitech K400 Plus Wireless Touch TV Keyboard With Easy Media Control and Built-in Touchpad, HTPC Keyboard for PC-connected TV, Windows, Android, Chrome OS, Laptop, Tablet - Black
Best Seller

Logitech K400 Plus Wireless Touch TV Keyboard With Easy Media Control and Built-in Touchpad, HTPC Keyboard for PC-connected TV, Windows, Android, Chrome OS, Laptop, Tablet - Black

(38,516)
$39.98$35.98
FREE delivery Thu, Sep 4
500+ bought in past month
Loading...
Logitech M185 Wireless Mouse, 2.4GHz with USB Mini Receiver, 12-Month Battery Life, 1000 DPI Optical Tracking, Ambidextrous, Compatible with PC, Mac, Laptop - Black

Logitech M185 Wireless Mouse, 2.4GHz with USB Mini Receiver, 12-Month Battery Life, 1000 DPI Optical Tracking, Ambidextrous, Compatible with PC, Mac, Laptop - Black

(48,912)
$15.99$12.79
FREE delivery Wed, Feb 18 on your first order
1K+ bought in past month
Loading...
2026 upgrade Brush Pro for Short Hair,brush pro canada short hair,brushes pro canada,portable straightenerbrush - brushpro,for Travel, with Led Display, for Short Hair, Medium Hair (#1)

2026 upgrade Brush Pro for Short Hair,brush pro canada short hair,brushes pro canada,portable straightenerbrush - brushpro,for Travel, with Led Display, for Short Hair, Medium Hair (#1)

(0)
$34.55
$5.54 delivery Jan 16 - Feb 5
Loading...
Razer Universal Quick Charging Stand for Xbox Series X|S: Magnetic Secure Charging - Matches Forza Horizon 5 Limited Edition Xbox Wireless Controller - USB Powered - (Controller Sold Separately)

Razer Universal Quick Charging Stand for Xbox Series X|S: Magnetic Secure Charging - Matches Forza Horizon 5 Limited Edition Xbox Wireless Controller - USB Powered - (Controller Sold Separately)

(1,103)
$52.27$33.70
PrimeFREE delivery Sat, Jun 14
Loading...
Go Fish Yourself Game, The Go Fish Game of Life's Little Humiliations, Hilarious Card Games Adults for Parties, Game Nights, Gag Gifts for Friends Couples & Coworkers (A)

Go Fish Yourself Game, The Go Fish Game of Life's Little Humiliations, Hilarious Card Games Adults for Parties, Game Nights, Gag Gifts for Friends Couples & Coworkers (A)

(23)
$7.99
FREE delivery Tue, Sep 9 on your first order
900+ bought in past month
Loading...
The Ultimate Date Night Game for Couples: Would You Rather? Questions for Fun Times and Deeper Conversation (Card Games for Couples)

The Ultimate Date Night Game for Couples: Would You Rather? Questions for Fun Times and Deeper Conversation (Card Games for Couples)

(633)
$18.69
FREE delivery Mar 5 - 11 on your first order
Loading...
Flip 7 - Card Game Mix of Luck and Strategy, Fast-Paced Addictive Card Game, Quick to Learn and Easy to Teach, 3+ Players, Ages 8 & Up, 20 Minutes Play Time

Flip 7 - Card Game Mix of Luck and Strategy, Fast-Paced Addictive Card Game, Quick to Learn and Easy to Teach, 3+ Players, Ages 8 & Up, 20 Minutes Play Time

(7)
$15.98
FREE delivery Dec 30, 2025 - Jan 2, 2026
Loading...
Retro Game Console, Wireless Retro Game Console, 24500+ Games Built-in, 4K HDMI Output, 9 Emulators, Dual 2.4GHz Wireless Game, Plug and Play Video Games, Deep Black(64G)
Best Seller

Retro Game Console, Wireless Retro Game Console, 24500+ Games Built-in, 4K HDMI Output, 9 Emulators, Dual 2.4GHz Wireless Game, Plug and Play Video Games, Deep Black(64G)

(11)
$49.59
FREE delivery Wed, Jul 2
50+ bought in past month
Loading...
Carrying Case Compatible with Nintendo Switch 2 (2025) 7.9 Inch Console & Accessories Bundle, 1 Screen Protector, Hard Portable Travel Case Storage Bag Protective Pounch with 10 Game Card Slots, Black

Carrying Case Compatible with Nintendo Switch 2 (2025) 7.9 Inch Console & Accessories Bundle, 1 Screen Protector, Hard Portable Travel Case Storage Bag Protective Pounch with 10 Game Card Slots, Black

(1)
$26.99
FREE delivery Sun, Jun 15 on your first order