HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
ange-yaghi
engine-sim
C++2022–2026
ange-yaghi / engine-sim

engine-sim

Combustion engine simulator that generates realistic audio.

12Distinct people
12Mentions
0Explicit recommenders
9.7KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Combustion engine simulator that generates realistic audio.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year12 dated mentions

Observed mentions: 2022-08-10 07:52:06 UTC to 2026-10-10 20:08:54 UTC.

0123452022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 5 mentions; 4 submissions, 1 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20242025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC541
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC202
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC303

What Hacker News says

12 sources
Once again, I have issue only with his taking it back after already open-sourcing it. It felt disingenuous. That's all. I would have no issue with simply never open-sourcing, but he open-sourced it and then took it back. He could've never open-sourced it in the first place. He could've archived it and kept the rest of the development private. He could've done anything other than what he did. It's one thing to take back something that you never intended to release, but he fully intended to release it and even made a video about how it's fully open and available, but then he just went actually nevermind. It's just so, infuriating that he would take it away like this after he told everyone he was giving it out. To me, that act of taking it away takes precedence over whatever I'd think if he'd kept it closed all along. Edit: I just looked it
Read the rest
up and apparently he did keep an archive online. I swear he'd taken it down before and there was a whole thing about this, but maybe he put it back up later? It's here: https://github.com/ange-yaghi/engine-sim
In Combustion engine web-based simulator
Finally got time to read a bit of the patent, which talks about two TDCs and BDCs, which I'll denote as "high" and "low", as related to the distance of the piston to the crankshaft. So the high TDC has maximum compression, and low BDC has the maximum cylinder volume, and the scavenging port(s) are between high BDC and low BDC. Unless I screwed up my notation shift, the strokes from the patent are as follows: 1. Intake (low TDC -> high BDC) 2. Compression (high BDC -> high TDC) 3. Power (high TDC -> low BDC) 4. Compression (low BDC -> high TDC) 5. Power (high TDC -> high BDC) 6. Exhaust (high BDC -> low BDC) So during the first power stroke, stroke 3, the cylinder moves from "high" to "low" and thus is the longer power stroke. Also during the second compression stroke, stroke 4, the cylinder position moves from "low" to "high". So technica
Read the rest
lly leading to higher compression ratio. I was thinking it would cost too much energy to do so, hence dismissed that alternative, but I guess not. The patent also notes that the extra scavenging ports are not needed, fresh air-fuel mixture can be introduced via the inlet valve(s) while the piston moves between the two BDCs. Would be fun to try to simulate it in Ange's engine simulator[1]. [1]: https://github.com/ange-yaghi/engine-sim
In Porsche's idea for a six-stroke internal combustion engine
Well, it's a good video but... Hacker News? On the related topic, you know how in Ford Mustang the engine noise is simulated so the engine would sound like a pre-emission-standards V8 even if it runs on just four? How about a similar thing for a motorcycle? You put on your noise-canceling head phones, and the phones emit a "noise-canceled" rev of an engine you choose. You can enjoy the sound of a Harley on a moped. And! Since it's your headphones only, you wouldn't even bother the public. I think there is a startup potential on it somewhere. And the technology is here too: https://github.com/ange-yaghi/engine-sim
In How to Ride like a Cop [video]

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.