doom-fire-algorithm
Playground for the fire effect from DOOM. Really simple algorithm and all experiments are welcome!
File Explorer
Download Latest Version (.zip)- fire.js
- index.html
- README.md
- Fire.js
- index.html
- fire.js
- index.html
- doom-pinkedition.PNG
- fire.js
- index.html
- README.md
- fire.js
- index.html
- fire.js
- index.html
- README.md
- .gitignore
- build.sh
- main.c
- main.h
- ExampleInstrumentedTest.kt
- DoomFlamesWidget.kt
- FlamesActivity.kt
- ic_launcher_background.xml
- ic_launcher_foreground.xml
- activity_flames.xml
- ic_launcher.xml
- ic_launcher_round.xml
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- attrs.xml
- colors.xml
- strings.xml
- styles.xml
- AndroidManifest.xml
- ExampleUnitTest.kt
- .gitignore
- app.iml
- build.gradle
- proguard-rules.pro
- gradle-wrapper.jar
- gradle-wrapper.properties
- android-customview-kotlin-implementation.iml
- build.gradle
- DoomFlames.iml
- example.gif
- gradle.properties
- gradlew
- gradlew.bat
- local.properties
- Readme.md
- settings.gradle
- codeStyleConfig.xml
- Project.xml
- encodings.xml
- gradle.xml
- misc.xml
- runConfigurations.xml
- ExampleInstrumentedTest.kt
- MainActivity.kt
- ic_launcher_background.xml
- ic_launcher_foreground.xml
- activity_main.xml
- ic_launcher.xml
- ic_launcher_round.xml
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- colors.xml
- strings.xml
- styles.xml
- AndroidManifest.xml
- ExampleUnitTest.kt
- .gitignore
- build.gradle
- proguard-rules.pro
- gradle-wrapper.jar
- gradle-wrapper.properties
- .gitignore
- build.gradle
- fire.gif
- gradle.properties
- gradlew
- gradlew.bat
- README.md
- settings.gradle
- doomfire.sh
- burnControl.js
- burnElement.css
- index.html
- README.md
- Material Plane.mat
- Material Plane.mat.meta
- SimpleFire.unity
- SimpleFire.unity.meta
- CameraController.cs
- CameraController.cs.meta
- ParticleSystemController.cs
- ParticleSystemController.cs.meta
- PlayerController.cs
- PlayerController.cs.meta
- UICanvas.cs
- UICanvas.cs.meta
- Material.meta
- Scenes.meta
- Scripts.meta
- manifest.json
- AudioManager.asset
- ClusterInputManager.asset
- DynamicsManager.asset
- EditorBuildSettings.asset
- EditorSettings.asset
- GraphicsSettings.asset
- InputManager.asset
- NavMeshAreas.asset
- NetworkManager.asset
- Physics2DSettings.asset
- PresetManager.asset
- ProjectSettings.asset
- ProjectVersion.txt
- QualitySettings.asset
- TagManager.asset
- TimeManager.asset
- UnityConnectSettings.asset
- VFXManager.asset
- fire.JPG
- readme.md
- fire.js
- index.html
- fire_qt_mac.jpg
- doomfire.cpp
- doomfire.h
- fire.pro
- firewidget.cpp
- firewidget.h
- main.cpp
- mainwindow.cpp
- mainwindow.h
- mainwindow.ui
- README.md
- doom_fire.png
- fire-doom
- fire-doom.cpp
- Makefile
- README.md
- FindSFML.cmake
- Fire.h
- Fire.cpp
- .gitattributes
- CMakeLists.txt
- main.cpp
- README.md
- launch.json
- tasks.json
- doom-fire-algo2.gif
- .gitignore
- csharp-console-implementation.csproj
- csharp-console-implementation.sln
- LICENSE
- Program.cs
- README.md
- doom-fire.gif
- fire.js
- index.html
- README.md
- fire.dart
- fire.dart.js
- fire.dart.js.deps
- fire.dart.js.map
- index.html
- README.md
- .gitignore
- demo.png
- DoomFire.dpr
- DoomFire.dproj
- DoomFire.res
- DoomFire.skincfg
- DoomFireClass.pas
- Main.fmx
- Main.pas
- index.js
- package.json
- README.md
- fire.js
- index.html
- README.md
- simulator.gif
- Contents.json
- Contents.json
- LaunchScreen.storyboard
- Main.storyboard
- AppDelegate.swift
- DoomFire.swift
- DoomPixelColor.swift
- Info.plist
- MainScene.swift
- ViewController.swift
- DoomFire.xcscheme
- project.pbxproj
- .gitignore
- LICENSE.md
- README.md
- org.eclipse.jdt.core.prefs
- Fire.java
- .classpath
- .project
- doom.gif
- index.html
- Readme.md
- doom-fire-matrix.ino
- Fire.cpp
- Fire.h
- fire.js
- index.html
- fire.css
- fire.html
- fire.js
- config.exs
- doom_fire.ex
- draw.ex
- fire_state.ex
- utils.ex
- .formatter.exs
- .gitignore
- elixir-doom-fire.gif
- mix.exs
- README.md
- doom-stm32f429.gif
- Doom_Flame-F429ZI_v02.DISCO_F429ZI.bin
- main.cpp
- README.md
- demo.gif
- fire.js
- index.html
- README.md
- star.png
- AndroidManifest.xml
- MainActivity.kt
- launch_background.xml
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- styles.xml
- AndroidManifest.xml
- AndroidManifest.xml
- build.gradle
- gradle-wrapper.properties
- .gitignore
- build.gradle
- gradle.properties
- settings.gradle
- AppFrameworkInfo.plist
- Debug.xcconfig
- Release.xcconfig
- Contents.json
- Icon-App-1024x1024@1x.png
- Icon-App-20x20@1x.png
- Icon-App-20x20@2x.png
- Icon-App-20x20@3x.png
- Icon-App-29x29@1x.png
- Icon-App-29x29@2x.png
- Icon-App-29x29@3x.png
- Icon-App-40x40@1x.png
- Icon-App-40x40@2x.png
- Icon-App-40x40@3x.png
- Icon-App-60x60@2x.png
- Icon-App-60x60@3x.png
- Icon-App-76x76@1x.png
- Icon-App-76x76@2x.png
- Icon-App-83.5x83.5@2x.png
- Contents.json
- LaunchImage.png
- LaunchImage@2x.png
- LaunchImage@3x.png
- README.md
- LaunchScreen.storyboard
- Main.storyboard
- AppDelegate.swift
- Info.plist
- Runner-Bridging-Header.h
- contents.xcworkspacedata
- Runner.xcscheme
- project.pbxproj
- contents.xcworkspacedata
- .gitignore
- main.dart
- .gitignore
- .metadata
- pubspec.lock
- pubspec.yaml
- README.md
- AndroidManifest.xml
- MainActivity.kt
- launch_background.xml
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- styles.xml
- AndroidManifest.xml
- AndroidManifest.xml
- build.gradle
- gradle-wrapper.properties
- build.gradle
- gradle.properties
- settings.gradle
- AppFrameworkInfo.plist
- Debug.xcconfig
- Release.xcconfig
- Contents.json
- Icon-App-1024x1024@1x.png
- Icon-App-20x20@1x.png
- Icon-App-20x20@2x.png
- Icon-App-20x20@3x.png
- Icon-App-29x29@1x.png
- Icon-App-29x29@2x.png
- Icon-App-29x29@3x.png
- Icon-App-40x40@1x.png
- Icon-App-40x40@2x.png
- Icon-App-40x40@3x.png
- Icon-App-60x60@2x.png
- Icon-App-60x60@3x.png
- Icon-App-76x76@1x.png
- Icon-App-76x76@2x.png
- Icon-App-83.5x83.5@2x.png
- Contents.json
- LaunchImage.png
- LaunchImage@2x.png
- LaunchImage@3x.png
- README.md
- LaunchScreen.storyboard
- Main.storyboard
- AppDelegate.swift
- Info.plist
- Runner-Bridging-Header.h
- contents.xcworkspacedata
- Runner.xcscheme
- project.pbxproj
- contents.xcworkspacedata
- Podfile
- color_pallete.dart
- fire_painter.dart
- fire_widget.dart
- main.dart
- .flutter-plugins-dependencies
- .gitignore
- .metadata
- example.gif
- pubspec.lock
- pubspec.yaml
- README.md
- Elements.js
- index.js
- Propagation.js
- renderFire.js
- style.css
- FogoDoom.gif
- index.html
- README.md
- demo.gif
- fire.js
- index.html
- README.md
- star.png
- icon.png-487276ed1e3a0c39cad0279d744ee560.md5
- icon.png-487276ed1e3a0c39cad0279d744ee560.stex
- FireMap.gd
- Render.gd
- default_env.tres
- Fire.gd
- Fire.tscn
- icon.png
- icon.png.import
- project.godot
- README.md
- doom_fire.shader
- .gitignore
- default_env.tres
- DoomFire.tscn
- pal.png
- project.godot
- readme.md
- main.go
- README.md
- fire.js
- index.html
- preview.gif
- README.md
- style.css
- ColorPalette.java
- FirePanel.java
- MainWindow.java
- Main.java
- pom.xml
- README.md
- ColorPalette.java
- DoomFire.java
- MainWindow.java
- Main.java
- pom.xml
- README.md
- colors.png
- conf.lua
- main.lua
- README.MD
- demo.gif
- fire.js
- index.html
- README.md
- style.css
- Cargo.cb4bfa5f.toml
- doom_fire_algorithm_bg.918dd76b.wasm
- index.html
- main.07273f20.css
- main.07273f20.map
- main.6a38f7d7.js
- main.709cdfb9.map
- main.css
- fire.js
- index.js
- color.rs
- lib.rs
- .gitignore
- Cargo.toml
- index.js
- index.js
- canvas.js
- index.js
- pixi.js
- table-debug.js
- table.js
- colors.js
- handlers.js
- config.json
- index.html
- main.js
- .gitignore
- package.json
- README.md
- controls.js
- doom.gif
- fire-algorithm.js
- index.html
- README.md
- fire.js
- index.html
- README.md
- EBOOT.PBP
- ICON0.PNG
- main.c
- makefile
- README.MD
- doom-fire.py
- doom_fire.py
- fire.gif
- LICENSE
- README.md
- requirements.txt
- doom_fire.py
- README.md
- app.py
- doom_fire_pygame.py
- __init__.py
- color_palette.py
- doom_fire.py
- .gitignore
- pythonic-doom-fire-blue.gif
- pythonic-doom-fire.gif
- README.md
- setup.py
- fire.js
- index.html
- README.md
- favicon.ico
- index.html
- manifest.json
- App.css
- App.js
- ButtonContent.js
- DoomTd.css
- DoomTd.js
- DoomTr.js
- index.js
- .gitignore
- components_organization.PNG
- package-lock.json
- package.json
- README.md
- App-test.js
- react_native_config.xml
- AndroidManifest.xml
- MainActivity.java
- MainApplication.java
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- ic_launcher.png
- ic_launcher_round.png
- strings.xml
- styles.xml
- AndroidManifest.xml
- BUCK
- build.gradle
- build_defs.bzl
- proguard-rules.pro
- gradle-wrapper.jar
- gradle-wrapper.properties
- BUCK
- debug.keystore.properties
- build.gradle
- gradle.properties
- gradlew
- gradlew.bat
- settings.gradle
- LaunchScreen.xib
- Contents.json
- Contents.json
- AppDelegate.h
- AppDelegate.m
- Info.plist
- main.m
- Info.plist
- Info.plist
- DoomFire-tvOS.xcscheme
- DoomFire.xcscheme
- project.pbxproj
- DoomFireTests.m
- Info.plist
- .buckconfig
- .flowconfig
- .gitattributes
- .gitignore
- .watchmanconfig
- App.js
- app.json
- babel.config.js
- index.js
- metro.config.js
- package.json
- preview.gif
- README.md
- yarn.lock
- doom-fire.gif
- fire.js
- index.html
- README.md
- style.css
- doom-fire.gif
- fire.js
- gpu.js
- index.html
- README.md
- FireCanvas.js
- FireParticle.js
- index.html
- p5.dom.min.js
- p5.min.js
- sketch.js
- fire.js
- index.html
- README.md
- demo.gif
- fire.js
- index.html
- README.md
- fire.js
- index.html
- README.md
- fire.js
- index.html
- README.md
- main.rs
- palette.rs
- state.rs
- utils.rs
- .gitignore
- Cargo.lock
- Cargo.toml
- demo-doom-fire.gif
- README.md
- main.cpp
- Makefile
- README.MD
- index.html
- main.css
- main.js
- README.md
- Contents.json
- Contents.json
- color-doom-logo.jpg
- Contents.json
- Contents.json
- doom-black.jpg
- Contents.json
- doom-logo.ico
- Contents.json
- doom-logo.jpg
- Contents.json
- Contents.json
- ContentView.swift
- FireGridView.swift
- ColorManager.swift
- ColorValue.swift
- Extensions.swift
- FireLogic.swift
- colors.json
- DoomFireApp.swift
- IDEWorkspaceChecks.plist
- UserInterfaceState.xcuserstate
- contents.xcworkspacedata
- xcschememanagement.plist
- project.pbxproj
- README.md
- faustao.jpg
- fogo.mp3
- fire.js
- index.html
- README.md
- fire.js
- index.html
- README.md
- animation.gif
- index.html
- README.md
- index.html
- script.js
- .gitignore
- doom-fire.gif
- LICENSE
- README.md
# Installation Guide
git clone https://github.com/filipedeschamps/doom-fire-algorithm
Downloads the entire project code from GitHub to your computer.
cd doom-fire-algorithm
Moves into the project folder you just downloaded.
2. CMake
Medium Recommendedcd playground/cpp-sfml-implementation
This project's files live in a subfolder, so move into it first.
mkdir build && cd build
Creates a folder to hold the build output and moves into it.
cmake ..
Analyzes the source code and generates build configuration files (must be run inside the build folder).
make
Compiles the code based on the generated build configuration to produce an executable.
3. .NET
Mediumcd playground/csharp-console-implementation
This project's files live in a subfolder, so move into it first.
dotnet restore
Downloads the packages the project depends on.
dotnet run
Builds the project and runs it immediately.
4. Maven (Java)
Medium- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java projects.
- Maven The build tool used for the mvn command.
cd playground/java-graphics2d-implementation
This project's files live in a subfolder, so move into it first.
mvn clean install
Installs dependencies and builds the project using Maven.
5. Gradle (Java/Kotlin)
Medium- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
cd playground/android-customview-kotlin-implementation/app
This project's files live in a subfolder, so move into it first.
./gradlew build
Builds the project using Gradle.
6. Node.js
Easycd playground/doom-fire-algorithm-ascii-art
This project's files live in a subfolder, so move into it first.
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
7. Python
Easypip install -r playground/python3-kivy/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
8. Rust
Medium- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cd playground/new-structure-with-parcel-bundler/src/engines/rust
This project's files live in a subfolder, so move into it first.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
9. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
cd playground/cpp-raylib-implementation
This project's files live in a subfolder, so move into it first.
make
Compiles the code based on the generated build configuration to produce an executable.
