p3nGu1nZz commited on
Commit
d3bf19d
·
1 Parent(s): 42d5a5a

✅ Updated our documentation for Plasma Arc Project!

Browse files
Files changed (7) hide show
  1. CHANGELOG.md +34 -0
  2. CONTRIBUTE.md +50 -0
  3. ETHICS.md +38 -0
  4. FAQ.md +45 -0
  5. README.md +10 -1
  6. REFERENCE.md +19 -6
  7. SECURITY.md +63 -0
CHANGELOG.md ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+
9
+ ### Added
10
+ - Initial setup of the project with basic structure and WebGPU integration.
11
+ - High-performance plasma arc simulation prototype.
12
+ - Realistic visualizations using WebGPU.
13
+ - Modular and extendable codebase including `wgpu-device.js`, `wgpu-state.js`, `wgpu-utility.js`, `wgpu-pipeline.js`, `wgpu-shader.js`, `wgpu-texture.js`, `wgpu-buffer.js`, and `wgpu-timing.js`.
14
+ - User-friendly interface with fast iterative development features.
15
+ - Basic documentation including README, LICENSE, CONTRIBUTING, ETHICS, and SECURITY files.
16
+ - Initial FAQ for common questions and clarifications.
17
+
18
+ ## [0.0.1] - 2024-12-13
19
+
20
+ ### Added
21
+ - Initial prototype release.
22
+ - Core simulation functionality with configurable parameters.
23
+ - Integration with WebGPU for high-performance computation and rendering.
24
+ - Basic modular components for state management and pipeline creation.
25
+
26
+ ### Changed
27
+ - N/A
28
+
29
+ ### Fixed
30
+ - N/A
31
+
32
+ ---
33
+
34
+ This document will be updated as new versions are released and changes are made. Stay tuned for more updates!
CONTRIBUTE.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Contributing to the Plasma Arc Project
2
+
3
+ First off, thanks for taking the time to contribute! 😊
4
+
5
+ The following is a set of guidelines for contributing to the Plasma Arc Project. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
6
+
7
+ ## How to Contribute
8
+
9
+ ### Reporting Bugs
10
+ If you find a bug in the source code, you can help us by submitting an issue to our [GitHub Repository](https://github.com/yourusername/plasma-arc-project/issues). Even better, you can submit a Pull Request with a fix.
11
+
12
+ - **Search for existing issues** to avoid duplicates.
13
+ - **Use a clear and descriptive title** for the issue.
14
+ - **Provide as much detail as possible**. Include OS version, browser version, and steps to reproduce the bug.
15
+
16
+ ### Suggesting Enhancements
17
+ To suggest an enhancement, please open an issue in our [GitHub Repository](https://github.com/yourusername/plasma-arc-project/issues). Make sure to describe the enhancement in detail.
18
+
19
+ - **Use a clear and descriptive title** for the issue.
20
+ - **Provide a detailed description** of the suggested enhancement.
21
+ - **Explain why this enhancement would be useful** to other users.
22
+
23
+ ### Pull Requests
24
+ Pull Requests (PRs) are welcome! If you plan to submit a large feature or change, please open an issue first to discuss it with us. This helps avoid duplicated effort and ensures that your contribution fits within the project's scope.
25
+
26
+ - **Fork the repository** to your own GitHub account.
27
+ - **Clone the repository** to your local machine.
28
+ - **Create a branch** for your changes.
29
+ - **Commit your changes** to your branch.
30
+ - **Push your branch** to your GitHub repository.
31
+ - **Create a Pull Request** from your branch to the main repository's `main` branch.
32
+
33
+ ### Coding Standards
34
+ To ensure consistency throughout the source code, please adhere to the following guidelines:
35
+
36
+ - **Write clean code** and follow the project's code style.
37
+ - **Use meaningful commit messages**.
38
+ - **Include comments** for complex code and functions.
39
+ - **Write tests** for any new features or bug fixes.
40
+
41
+ ### Code of Conduct
42
+ Please note that this project adheres to a [Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.
43
+
44
+ ## Contact
45
+ If you have any questions or need further clarification, feel free to reach out via:
46
+
47
+ - **GitHub Issues**: For any general questions or issues.
48
+ - **Discord Community**: Join our [Hugging Face Discord](https://discord.com/invite/huggingface) for discussions and support.
49
+
50
+ Thank you for contributing! 😊
ETHICS.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Ethics in the Plasma Arc Project
2
+
3
+ ## Introduction
4
+
5
+ At the Plasma Arc Project, we are committed to maintaining the highest ethical standards in all aspects of our work. This document outlines our ethical principles and the expectations we have for all contributors and users of our project.
6
+
7
+ ## Ethical Principles
8
+
9
+ ### 1. Respect and Inclusion
10
+ - **Diversity and Inclusion**: We value diversity and strive to create an inclusive environment where everyone is treated with respect, regardless of their background, identity, or perspective.
11
+ - **Non-Discrimination**: We do not tolerate any form of discrimination, harassment, or bullying. We encourage respectful communication and collaboration.
12
+
13
+ ### 2. Integrity and Transparency
14
+ - **Honesty**: We are committed to honesty and integrity in all our communications and actions. We strive to provide accurate information and acknowledge our mistakes.
15
+ - **Transparency**: We believe in transparency and openness in our processes, decisions, and operations. We encourage open dialogue and the sharing of information.
16
+
17
+ ### 3. Accountability and Responsibility
18
+ - **Accountability**: We take responsibility for our actions and decisions. We hold ourselves and each other accountable for upholding our ethical principles.
19
+ - **Responsible Use**: We ensure that our technology is used responsibly and ethically. We avoid applications that could cause harm or be used maliciously.
20
+
21
+ ### 4. Privacy and Security
22
+ - **Data Privacy**: We respect the privacy of individuals and handle personal data with care. We comply with all relevant data protection regulations.
23
+ - **Security**: We prioritize the security of our project and take measures to protect against unauthorized access and vulnerabilities.
24
+
25
+ ### 5. Social and Environmental Responsibility
26
+ - **Social Impact**: We consider the social implications of our work and strive to contribute positively to society. We seek to minimize any negative impact our project may have.
27
+ - **Environmental Sustainability**: We are committed to environmentally sustainable practices and consider the environmental impact of our decisions.
28
+
29
+ ## Code of Conduct
30
+ All contributors and users are expected to adhere to our [Code of Conduct](CODE_OF_CONDUCT.md). This ensures a positive and respectful environment for everyone involved.
31
+
32
+ ## Reporting Issues
33
+ If you encounter any ethical issues or have concerns about the conduct within the project, please report them to our project maintainers via [GitHub Issues](https://github.com/yourusername/plasma-arc-project/issues) or through our [Discord Community](https://discord.com/invite/huggingface).
34
+
35
+ ## Conclusion
36
+ Adhering to these ethical principles is crucial for the success and integrity of the Plasma Arc Project. We believe that by working together with respect, transparency, and responsibility, we can achieve our goals and create a positive impact.
37
+
38
+ Thank you for being part of our community and for your commitment to these ethical standards.
FAQ.md ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Frequently Asked Questions (FAQ)
2
+
3
+ ## General Questions
4
+
5
+ **Q: What is the Plasma Arc Project?**
6
+ A: The Plasma Arc Project is an advanced simulation platform for plasma arcs, leveraging WebGPU to provide high-performance and realistic visualizations for research and educational purposes.
7
+
8
+ **Q: How can I get started with the Plasma Arc Project?**
9
+ A: You can get started by following the installation instructions in the [README](README.md). Ensure you have the necessary prerequisites and a WebGPU-compatible browser.
10
+
11
+ **Q: Who can contribute to the project?**
12
+ A: Anyone is welcome to contribute! Check out our [CONTRIBUTE.md](CONTRIBUTE.md) file for more details on how to get involved.
13
+
14
+ **Q: What license is the Plasma Arc Project released under?**
15
+ A: The project is released under the MIT License, allowing you to use, modify, and distribute the software with minimal restrictions.
16
+
17
+ ## Technical Questions
18
+
19
+ **Q: What are the system requirements for running the simulation?**
20
+ A: You need Python 3.10 or higher and a WebGPU-compatible browser like Chrome Canary or Firefox Nightly. Specific hardware recommendations are outlined in the README.
21
+
22
+ **Q: How do I report bugs or request features?**
23
+ A: You can report bugs or request features by opening an issue in our [GitHub repository](https://github.com/yourusername/plasma-arc-project/issues).
24
+
25
+ **Q: What kind of performance can I expect?**
26
+ A: Performance will vary depending on your hardware. Our project is optimized for high performance on a range of devices, but using a powerful GPU will provide the best experience.
27
+
28
+ **Q: Can I modify the simulation parameters?**
29
+ A: Yes, you can modify the configurations in the `config` object in `index.html` to adjust the simulation parameters to your needs.
30
+
31
+ ## Community Questions
32
+
33
+ **Q: How can I join the community?**
34
+ A: You can join our vibrant community on the [Hugging Face Discord](https://discord.com/invite/huggingface) to participate in discussions, ask questions, and collaborate with other members.
35
+
36
+ **Q: How can I stay updated with the latest news and updates?**
37
+ A: Follow our repository on GitHub and join our Discord community to stay informed about the latest developments, updates, and events.
38
+
39
+ **Q: Are there any community guidelines I should follow?**
40
+ A: Yes, please refer to our [Code of Conduct](CODE_OF_CONDUCT.md) for guidelines on how to interact respectfully and contribute positively to our community.
41
+
42
+ **Q: How can I contribute to the project?**
43
+ A: You can contribute by submitting issues, pull requests, and participating in discussions on GitHub and Discord. Check out our [CONTRIBUTE.md](CONTRIBUTE.md) file for more details.
44
+
45
+ We hope this FAQ helps answer some of your questions! If you have more, feel free to reach out to us on GitHub or Discord.
README.md CHANGED
@@ -60,6 +60,15 @@ The project is structured using modular components for WebGPU, ensuring a clean
60
  ## Contributing
61
  We welcome contributions! Please submit issues or pull requests to help improve the project. Make sure to follow the coding standards and write tests for new features.
62
 
 
 
 
 
 
 
 
 
 
63
  ## License
64
  This project is licensed under the MIT License.
65
 
@@ -73,7 +82,7 @@ If you use this project in your research, please cite it as follows:
73
  year = {2025},
74
  publisher = {GitHub},
75
  journal = {GitHub repository},
76
- howpublished = {\url{https://github.com/p3nGu1nZz/plasma-arc-engine}},
77
  email = {rawsonkara@gmail.com}
78
  }
79
  ```
 
60
  ## Contributing
61
  We welcome contributions! Please submit issues or pull requests to help improve the project. Make sure to follow the coding standards and write tests for new features.
62
 
63
+ ## Acknowledgments
64
+ We would like to extend our sincere gratitude to:
65
+ - **Hugging Face**: For providing an amazing platform that supports and fosters innovation.
66
+ - **Discord**: For offering a vibrant community space where collaboration thrives.
67
+ - **The Community at Hugging Face Discord**: Your feedback, discussions, and encouragement have been invaluable.
68
+
69
+ ## Alignment with Industry Standards
70
+ Our project strives to achieve parity with Unreal Engine 5 (UE5) by aligning our style guide, naming conventions, and source code architecture with industry standards. Additionally, from a design aspect, we are borrowing concepts from the state architecture of React to ensure a modern, efficient, and scalable development experience.
71
+
72
  ## License
73
  This project is licensed under the MIT License.
74
 
 
82
  year = {2025},
83
  publisher = {GitHub},
84
  journal = {GitHub repository},
85
+ howpublished = {\url{https://github.com/p3nGu1nZz/plasma-arc}},
86
  email = {rawsonkara@gmail.com}
87
  }
88
  ```
REFERENCE.md CHANGED
@@ -1,15 +1,28 @@
1
-
2
  ---
3
  ---
4
 
5
  # WebGPU and Other References
6
 
7
- ### Math libraries and Rendering vertex stuff.
 
 
 
 
 
 
8
 
9
- - **Workgroup** :: https://webgpufundamentals.org/
 
10
 
11
- - **Module** :: https://webgpufundamentals.org/3rdparty/wgpu-matrix.module.js
12
 
13
- - **Implementations** :: https://www.bing.com/search?pglt=929&q=matrix.module.js&cvid=f489a108db90408c8b575d292bfd7c55&gs_lcrp=EgRlZGdlKgYIABBFGDkyBggAEEUYOTIGCAEQABhAMgYIAhAAGEAyBggDEAAYQDIGCAQQABhA0gEHNjI0ajBqMagCALACAA&FORM=ANNTA1&PC=U531&EPC=ExpTester
 
14
 
15
- ---
 
 
 
 
 
 
 
 
1
  ---
2
  ---
3
 
4
  # WebGPU and Other References
5
 
6
+ ## Math Libraries and Rendering Vertex Stuff
7
+
8
+ - **Workgroup**: [WebGPU Fundamentals](https://webgpufundamentals.org/)
9
+ - **Module**: [wgpu-matrix.module.js](https://webgpufundamentals.org/3rdparty/wgpu-matrix.module.js)
10
+ - **Implementations**: [Search Results for matrix.module.js](https://www.bing.com/search?pglt=929&q=matrix.module.js&cvid=f489a108db90408c8b575d292bfd7c55&gs_lcrp=EgRlZGdlKgYIABBFGDkyBggAEEUYOTIGCAEQABhAMgYIAhAAGEAyBggDEAAYQDIGCAQQABhA0gEHNjI0ajBqMagCALACAA&FORM=ANNTA1&PC=U531&EPC=ExpTester)
11
+
12
+ ## WebGPU Resources
13
 
14
+ - **Official WebGPU Documentation**: [WebGPU Spec](https://www.w3.org/TR/webgpu/)
15
+ - **WebGPU Tutorial**: [WebGPU Fundamentals](https://webgpufundamentals.org/webgpu.html)
16
 
17
+ ## Design and Architecture
18
 
19
+ - **Unreal Engine 5 Style Guide**: [UE5 Coding Standards](https://docs.unrealengine.com/4.27/en-US/ProductionPipelines/DevelopmentSetup/CodingStandard/)
20
+ - **React State Management**: [React Documentation](https://reactjs.org/docs/state-and-lifecycle.html)
21
 
22
+ ## Additional References
23
+
24
+ - **Plasma Physics Textbook**: J. D. Huba, "NRL Plasma Formulary", 2020.
25
+ - **WebGPU API Reference**: [WebGPU API](https://developer.mozilla.org/en-US/docs/Web/API/WebGPU_API)
26
+ - **GPU Programming**: N. Wilt, "CUDA Handbook: A Comprehensive Guide to GPU Programming", 2013.
27
+
28
+ ---
SECURITY.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Security Policy
2
+
3
+ ## Reporting a Vulnerability
4
+
5
+ We take the security of our project seriously. If you discover a security vulnerability, we appreciate your help in disclosing it responsibly.
6
+
7
+ ### How to Report
8
+
9
+ 1. **Email**: Send an email to our security team at `security@plasma-arc-project.com`.
10
+ 2. **Include Details**: Provide as much detail as possible about the vulnerability. Include the steps to reproduce the issue, any potential impact, and your contact information.
11
+ 3. **Confidentiality**: We will handle your report with the highest level of confidentiality and will not share the details outside of our security team until the issue is resolved.
12
+
13
+ ### What to Expect
14
+
15
+ 1. **Acknowledgment**: We will acknowledge receipt of your vulnerability report within 48 hours.
16
+ 2. **Evaluation**: Our security team will evaluate the report and determine the severity of the issue.
17
+ 3. **Resolution**: We will work to resolve the vulnerability as quickly as possible and will provide you with updates throughout the process.
18
+ 4. **Disclosure**: Once the vulnerability is resolved, we will disclose the issue and credit the reporter if they desire.
19
+
20
+ ### Scope
21
+
22
+ This policy applies to any vulnerabilities identified in the project repository, including:
23
+ - The core application code
24
+ - Dependencies and libraries
25
+ - Documentation and configurations
26
+
27
+ We thank you for your efforts to make the Plasma Arc Project secure for everyone.
28
+
29
+ ---
30
+
31
+ # Frequently Asked Questions (FAQ)
32
+
33
+ ## General Questions
34
+
35
+ **Q: What is the Plasma Arc Project?**
36
+ A: The Plasma Arc Project is an advanced simulation platform for plasma arcs, leveraging WebGPU to provide high-performance and realistic visualizations for research and educational purposes.
37
+
38
+ **Q: How can I get started with the Plasma Arc Project?**
39
+ A: You can get started by following the installation instructions in the [README](README.md). Ensure you have the necessary prerequisites and a WebGPU-compatible browser.
40
+
41
+ **Q: Who can contribute to the project?**
42
+ A: Anyone is welcome to contribute! Check out our [CONTRIBUTE.md](CONTRIBUTE.md) file for more details on how to get involved.
43
+
44
+ ## Technical Questions
45
+
46
+ **Q: What are the system requirements for running the simulation?**
47
+ A: You need Python 3.10 or higher and a WebGPU-compatible browser like Chrome Canary or Firefox Nightly. Specific hardware recommendations are outlined in the README.
48
+
49
+ **Q: How do I report bugs or request features?**
50
+ A: You can report bugs or request features by opening an issue in our [GitHub repository](https://github.com/yourusername/plasma-arc-project/issues).
51
+
52
+ **Q: What kind of performance can I expect?**
53
+ A: Performance will vary depending on your hardware. Our project is optimized for high performance on a range of devices, but using a powerful GPU will provide the best experience.
54
+
55
+ ## Community Questions
56
+
57
+ **Q: How can I join the community?**
58
+ A: You can join our vibrant community on the [Hugging Face Discord](https://discord.com/invite/huggingface) to participate in discussions, ask questions, and collaborate with other members.
59
+
60
+ **Q: How can I stay updated with the latest news and updates?**
61
+ A: Follow our repository on GitHub and join our Discord community to stay informed about the latest developments, updates, and events.
62
+
63
+ We hope this FAQ helps answer some of your questions! If you have more, feel free to reach out to us on GitHub or Discord.