Atom Simulation. Here, particles attract and repel each other like electric charges, and the balance of forces allows for various effects. The code is open source on GitHub by MasterOgon. Check also my Sci-Fi paintings on MasterOgon Art. #Coding #Simulation #Python #OpenSource #QuantumPhysics
More Relevant Posts
-
🚀 Upgraded my Rocket Simulation Web App! Added new advanced features: ✔️ Comparison between ideal vs real trajectory (air resistance) ✔️ Best launch angle prediction ✔️ Improved visualization This project helped me understand how real-world physics differs from ideal models. 🌐 Live Demo: https://lnkd.in/gC_Deq7a #Python #Aerospace #Simulation #Streamlit #StudentProject
To view or add a comment, sign in
-
Add Two Numbers: Linked List Digit Addition with Carry Process lists simultaneously like grade-school addition. Handle different lengths by treating missing nodes as 0. Carry propagates via loop condition carry > 0. Dummy simplifies head handling. Continue until lists exhausted AND carry zero. Carry Propagation: Including carry in loop condition ensures final carry digit added. Division/modulo elegantly extract carry and digit. This pattern applies to any multi-digit arithmetic simulation. Time: O(max(m, n)) | Space: O(max(m, n)) #LinkedList #DigitAddition #CarryPropagation #SimulationAlgorithm #Python #AlgorithmDesign #SoftwareEngineering
To view or add a comment, sign in
-
-
Plus One: Digit Addition with Carry Propagation Add 1 to number represented as digit array. Reverse for easier processing (rightmost = index 0). Propagate carry: 9 becomes 0 with carry, else increment and stop. If carry remains after all digits, append it (e.g., 999 → 1000). Simpler Approach: Process from right without reversing using for i in range(len(digits) - 1, -1, -1). Your reversing works but adds extra operations. Both O(n) time though. Time: O(n) | Space: O(1) excluding output #DigitArithmetic #CarryPropagation #ArrayManipulation #Simulation #Python #AlgorithmDesign #SoftwareEngineering
To view or add a comment, sign in
-
-
Product Except Self: Prefix-Postfix Pattern Avoids Division Division-based solution fails with zeros. Two-pass prefix-postfix eliminates division — first pass stores product of all left elements, second pass multiplies by product of all right elements. Reusing output array achieves O(1) auxiliary space. Prefix-Postfix Technique: Powerful pattern for array transformations where each element depends on surrounding elements. Appears in: cumulative sums, range queries, sliding aggregations. Time: O(n) | Space: O(1) excluding output #PrefixPostfix #ArrayTransformation #DivisionFree #SpaceOptimization #Python #AlgorithmDesign #SoftwareEngineering
To view or add a comment, sign in
-
-
Chess + Voronoi Diagram + Positional Play = Spatial Control Most of us know about positional play. It has become a heavily discussed topic since Pep Guardiola made it more famous. But how do we measure the ownership of space? I believe putting voronoi diagram over top of positional landmarks can help us better understand which team is dominating a space. Then we can take the total coverage of a polygon over a landmark to get a percentage. This can help us design team shapes and player relations to take over pivotal areas such as central lanes and half spaces. #SportsAnalytics #FootballAnalytics #SoccerAnalytics #DataScience #python
To view or add a comment, sign in
-
Developed an impact-based dust simulation system in Houdini using Python. The system generates dust dynamically based on collision velocity, allowing for more realistic and responsive debris behaviour. By using velocity thresholds and density control, the simulation avoids unnecessary computation while maintaining visual quality. This approach improves both performance and realism in destruction workflows. #Houdini #VFX #Simulation #TechnicalArt #Procedural #Python #FX
To view or add a comment, sign in
-
Developed an impact-based dust simulation system in Houdini using Python. The system generates dust dynamically based on collision velocity, allowing for more realistic and responsive debris behaviour. By using velocity thresholds and density control, the simulation avoids unnecessary computation while maintaining visual quality. This approach improves both performance and realism in destruction workflows. #Houdini #VFX #Simulation #TechnicalArt #Procedural #Python #FX
To view or add a comment, sign in
-
Longest Repeating Character Replacement: Window Valid When Replacements ≤ k The critical insight: window is valid when window_length - max_frequency ≤ k (replacements needed ≤ allowed). HashMap tracks character frequencies, max frequency determines how many characters need replacing. Expand window greedily, contract when replacement budget exceeded. Replacement Formula: length - max_freq = characters needing replacement. This transforms complex constraint into simple arithmetic check, enabling O(n) sliding window. Time: O(n) | Space: O(1) — max 26 chars #SlidingWindow #CharacterReplacement #FrequencyTracking #ConstraintValidation #Python #AlgorithmDesign #SoftwareEngineering
To view or add a comment, sign in
-
-
Bringing science fiction to life! 🌟 My Python & OpenCV project: a real-time invisibility cloak. Learned about: Video processing, masks, HSV color detection, and frame blending. Watch the demo
To view or add a comment, sign in
-
Playing with Claude to vibe-code a visualiser library for 128x64 LED matrix 😎 Audio from the OP-1 synth is fed into the RaspberryPi, which is running custom Python scripts (thanks Claude), the scripts analyse the audio input real-time and generate visuals which are pushed to the 128x64 LED matrix. #code #teenageengineering #claude #raspberrypi5 #visualiser
To view or add a comment, sign in
More from this author
Explore related topics
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development
https://github.com/MasterOgon/Newtonian-Superfluid-Simulation