Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithm-archivists/algorithm-archive
/ IFS.py
File
IFS.py
contents/IFS/code/python/IFS.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
random
import
random, choice
2
from
math
import
sqrt
3
4
# This generator simulates a "chaos game"
Callers
nothing calls this directly
Calls
1
chaos_game
Function · 0.70
Tested by
no test coverage detected