Uploaded December 2022 | Updated September 2026, 3 weeks ago
Displaying numbers is trickier than I expected! In this video we explore how to visualize the data inside of our simulated 4-bit registers, with the help of the double dabble algorithm and some seven segment displays.
Series playlist: youtube.com/playlist?list=PLFt_AvWsXl0dPhqVsKt1Ni_46ARyiCGSq
Simulation tool (work in progress): sebastian.itch.io/digital-logic-sim
Source code: github.com/SebLague/Digital-Logic-Sim
Support the channel: patreon.com/SebastianLague
Correction for a mistake in my boolean algebra explanation: youtube.com/watch?v=A-vLRThfJ4Q
Resources and Inspiration:
en.wikipedia.org/wiki/Double_dabble
electronics.stackexchange.com/questions/499884/3-digit-of-7-segment-on-logisim/499916#499916
pdf1.alldatasheet.com/datasheet-pdf/view/5697/MOTOROLA/SN54/74LS248.html
Music:
github.com/SebLague/Misc-Project-Info/blob/main/Digital-Logic-Sim/7Seg%20Music%20Credits.txt
Chapters
0:00 Intro
0:49 Two’s Complement Refresher
1:34 Seven-Segment Display + Truth Table
2:58 Boolean Algebra Basics
5:43 Simplifying the Equation
6:48 Converting Algebra to Logic Gates
8:33 Computer-Assisted Design
11:25 Testing the Digit Display Design
12:36 A Real-World Version (the 74LS248)
14:20 Visualizing the Data in a 4-bit Register
15:14 All Ten Digits
17:22 Binary Coded Decimal
19:49 The Double Dabble Algorithm
22:58 Dabbling with Logic Gates
24:05 Implementing Double Dabble
26:39 Displaying an 8-bit Number
27:18 Ripple Blanking
29:32 Displaying Negative Numbers
32:34 Testing the Final Design
33:50 Outro
Displaying numbers is trickier than I expected! In this video we explore how to visualize the data inside of our simulated 4-bit registers, with the help of the double dabble algorithm and some seven segment displays.
Series playlist: youtube.com/playlist?list=PLFt_AvWsXl0dPhqVsKt1Ni_46ARyiCGSq
Simulation tool (work in progress): sebastian.itch.io/digital-logic-sim
Source code: github.com/SebLague/Digital-Logic-Sim
Support the channel: patreon.com/SebastianLague
Correction for a mistake in my boolean algebra explanation: youtube.com/watch?v=A-vLRThfJ4Q
Resources and Inspiration:
en.wikipedia.org/wiki/Double_dabble
electronics.stackexchange.com/questions/499884/3-digit-of-7-segment-on-logisim/499916#499916
pdf1.alldatasheet.com/datasheet-pdf/view/5697/MOTOROLA/SN54/74LS248.html
Music:
github.com/SebLague/Misc-Project-Info/blob/main/Digital-Logic-Sim/7Seg%20Music%20Credits.txt
Chapters
0:00 Intro
0:49 Two’s Complement Refresher
1:34 Seven-Segment Display + Truth Table
2:58 Boolean Algebra Basics
5:43 Simplifying the Equation
6:48 Converting Algebra to Logic Gates
8:33 Computer-Assisted Design
11:25 Testing the Digit Display Design
12:36 A Real-World Version (the 74LS248)
14:20 Visualizing the Data in a 4-bit Register
15:14 All Ten Digits
17:22 Binary Coded Decimal
19:49 The Double Dabble Algorithm
22:58 Dabbling with Logic Gates
24:05 Implementing Double Dabble
26:39 Displaying an 8-bit Number
27:18 Ripple Blanking
29:32 Displaying Negative Numbers
32:34 Testing the Final Design
33:50 Outro
![[xkcd jam] Spirit Rover: Behind the Scenes
This is a behind the scenes/post-mortem video for my entry to the 2017 xkcd jam, which took place over 3 days.
Play the game: https://sebastian.itch.io/spirit-rover
Source: https://github.com/SebLague/Spirit-Rover
Comic: https://xkcd.com/695/
Support the creation of gamedev tutorials:
https://www.patreon.com/SebastianLague
https://www.paypal.me/SebastianLague [xkcd jam] Spirit Rover: Behind the Scenes](https://i.ytimg.com/vi/hGiNRlmpids/mqdefault.jpg)


![[Unity] Procedural Planets (E05: shader)
In this episode we use shadergraph to create a simple shader for our planet.
Get the project files for this episode:
http://github.com/SebLague/Procedural-Planets
Support the creation of more tutorials and get early access to new videos: https://www.patreon.com/SebastianLague [Unity] Procedural Planets (E05: shader)](https://i.ytimg.com/vi/itnLOlQ2QFo/mqdefault.jpg)



![RPG graphics E02: Character rig [Blender]
In this episode we create a rig for the character. In the following episode the mesh deformations will be improved using weight painting.
See Brackeys channel for the programming half of this series: https://www.youtube.com/user/Brackeys
Download the starting model here:
https://www.dropbox.com/s/828rpnxs0oc0u70/Player%20model.zip?dl=1
Download rigged character here:
https://www.dropbox.com/s/rida4ptr3k1ptvt/Player%20rig.blend.zip?dl=1
RPG gameplay programming playlist:
https://www.youtube.com/playlist?list=PLPV2KyIb3jR4KLGCCAciWQ5qHudKtYeP7
Support the creation of more gamedev tutorials:
https://www.patreon.com/SebastianLague RPG graphics E02: Character rig [Blender]](https://i.ytimg.com/vi/jp_SqjB0468/mqdefault.jpg)


