Using an Iterative Function System (IFS) with OpenGL in Python to draw the Barnsley Fern, a famous fractal shape. This is done using affine transformations according to the IFS code for the leaf: https://lnkd.in/dguTScee
More Relevant Posts
-
CPython Unveils Chained Assignment Mechanics in Python Bytecode Execution 📌 Chained assignments in Python don’t create separate objects-they share the same underlying instance, a bytecode-level quirk that can silently break your code. A deep dive into CPython’s execution reveals how a = b = [] uses COPY and STORE_FAST to assign the same list to multiple variables, exposing a common pitfall for developers working with mutable data. 🔗 Read more: https://lnkd.in/dUfiAJ44 #Cpython #Pythonbytecode #Chainedassignment #Interpreterexecution #Variablebinding
To view or add a comment, sign in
-
LeetCode #102 – Binary Tree Level Order Traversal | Python Implementation I implemented an iterative BFS approach using a queue to collect nodes level by level. Core Insight: The len(q) snapshot before the inner loop prevents mixing levels. New children added during iteration don't affect the current level's processing count, ensuring clean level separation. Time: O(n) | Space: O(w) where w = maximum tree width #LeetCode #DataStructures #Python #BinaryTree #BFS #LevelOrderTraversal #CodingInterview #SoftwareEngineering
To view or add a comment, sign in
-
-
Crawlee is an open source Python scraping library that makes you invisible to every modern bot detection system. Auto-rotates proxies, handles JS-heavy sites, scales crawls automatically, retries failures on its own. One pip install. 8.1K STARS AND MOST PEOPLE HAVE NEVER HEARD OF IT.
To view or add a comment, sign in
-
-
Created a GUI Weather Application in Python using Tkinter and the OpenWeatherMap API. It allows users to enter a city and view real-time weather information with a simple interface. #PythonProjects #APIIntegration #internpe
To view or add a comment, sign in
-
We have added the tool to calculate the #CurrentCarryingCapacity of a conductor according to #CigreTB601 to our website: https://lnkd.in/ehrs-aPa. It allows you to compare different configurations. Did you know you can use this python package from Statnett too? It also includes the #CigreTB207 and #IEEE738 methods. You can find it here, or install it as a dependency in your python environment: https://lnkd.in/e67GzwcU. #SLR #DLR #StaticLineRating #DynamicLineRating
Line rating - Cigre TB601
To view or add a comment, sign in
-
Mixed Arguments & Scope Tried out how Python handles args (positional arguments) and *kwargs (keyword arguments). *args collects values into a tuple kwargs collects named values into a dictionary Together, they make functions flexible Also explored variable scope: local variables exist only inside a function, while global variables remain accessible outside. #msb #lpu #lovelyprofessionaluniversity
To view or add a comment, sign in
-
-
One of the biggest upticks of AI Driven Development is the ease in which you can put together clean console applications. You can literally now spin up a menu driven console interface within a few minutes in Python using Textual (other languages are available...)
To view or add a comment, sign in
-
-
I recently implemented the K-Medoids clustering algorithm from scratch in Python and visualized the clusters using graphs to understand how the algorithm groups data points. #MachineLearning #PythonProjects https://lnkd.in/gczybNGr
To view or add a comment, sign in
-
LeetCode #230 – Kth Smallest Element in a BST | Python Implementation I implemented an iterative inorder traversal using a stack to find the kth smallest element without building the entire sorted list. Core Insight: Iterative inorder traversal with early termination avoids O(n) space for storing all values. The stack simulates recursion while the counter enables stopping exactly at k. Time: O(h + k) where h = tree height | Space: O(h) for stack #LeetCode #DataStructures #Python #BinarySearchTree #InorderTraversal #Stack #CodingInterview #SoftwareEngineering
To view or add a comment, sign in
-
-
Just open-sourced Traceloom: a Python decorator that automatically traces DataFrame lineage across your pipeline and visualizes it as an interactive graph: https://lnkd.in/ebPUc6Qk
To view or add a comment, sign in
-
More from this author
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
Classic. Brilliantly done here a few years ago... https://youtu.be/kbKtFN71Lfs?si=Gh71E4-k_8fu7n7n