Skip to content
Sign UpLog In
Profile icon

Lizzy Foster

@LizFoster
I am a HUGE HUGE fan of all things math-related! I am trying to learn as much as I can about Python. Have a good day~!
  • The Mandelbrot Set

    Cover page
    Made with Python (with Turtle)
    Recent comments (1)
    PeterKelsey
    PeterKelsey
    4 months ago

    Oh my! Beautiful!

Repls
Community
LizFoster
LizFoster
shared a Post
2 years ago
Mandelbrot Set, Enhanced.
Hello all! I have been working on fixing up my old Mandelbrot Set code over the past few days. I will not list everything I changed (and that is defin
Mandelbrot Enhancement mk1
Python (with Turtle)
Codemonkey51
Codemonkey51
Hello, haven't seen you on repl talk in a while. Cool project!2 years ago
JBloves27
JBloves27
Rly cool! intersting!2 years ago
LizFoster
LizFoster
shared a Post
2 years ago
Hello all! *^~^/ I am back with another coding project. This took a couple hours to make, and I think I definitely learned from this! There are obvio
Mastermind
Python (with Turtle)
xxpertHacker
xxpertHacker
ParseError: bad input on line 115 ):2 years ago
RayhanADev
RayhanADev
NICE! Interesting use of Turtle good job!, I think I’m going to get Mastermind sometime later this year because I ran flat out of board games to play xD.2 years ago
JBloves27
JBloves27
Really cool! I like the graphics as well!2 years ago
LizFoster
LizFoster
shared a Post
2 years ago
Hello all! I started working on this earlier today, and I have made pretty good progress on it. I was hoping I could just post it once it was finished
Multiplying Matrices Calculator
Python
SixBeeps
SixBeeps
You're trying to multiply the matrix by a scalar, right? You could do what @MocaCDeveloper suggested and use a nested loop, or you could also try using list comprehension2 years ago
MocaCDeveloper
MocaCDeveloper
You have a list inside of the list matrix1. You're going to need to have 2 for loops to go through each list inside matrix1. That is where you're error is occuring. See on line 4 you create a variable 'matrix1' that is a list, then inside setupMatrix you, for some reason, append a empty list through each iteration and that list gets no values. So, on line 30, you would want to do: Then, on line 45, you will then need another 2 for loops to go through each list. I hope this helps2 years ago
LizFoster
LizFoster
I can work on fixing the minor problems and removing unnecessary junk later; I just want to get it in a working state that I understand wwwww2 years ago
LizFoster
LizFoster
shared a Post
3 years ago
Yes, I have been gone for a while, and I apologize for that. My huge PocketMonsters project has been put on hold for the sake of my sanity, and I want
Tic-Tac-Toe
Python
JBloves27
JBloves27
Really cool!2 years ago
ClintHance
ClintHance
You get and "A" for aehffort.3 years ago
zplusfour
zplusfour
this is cool also welcome back3 years ago
LizFoster
LizFoster
shared a Post
3 years ago
Hooray, it is finally here! I struggled a bit with finding ones that I haven't done for this one, and I hope I've got original ones here for you all.
π approximations 4
Python
TheForArkLD
TheForArkLD
Cool! (And are you japanese? I can view japan school name from your profile)3 years ago
PYer
PYer
Hey @LizFoster! I've checked out every post of yours and have liked them though I don't understand anything! The only problem is, I'm never signed in, so I'm going to go through and upvote your posts.3 years ago
Jakman
Jakman
I aint big on math but im gonna upvote out of dedication to this project.3 years ago
LizFoster
LizFoster
shared a Post
3 years ago
Here is my submission! This takes a url to an image, and makes the turtle draw it! To use it, use this program. Copy the matrix made in NewImList, an
TEMPLATE JAM!
Python (with Turtle)
notmebenny
notmebenny
very cool 2 years ago
Conflagrate
Conflagrate
The linked program does not seem to work. It keeps returning: (253, 253, 253) Traceback (most recent call last): File "main.py", line 28, in newIm[r].append(rgbToHex(rgb)) # change to rgb if you want to use RGB color File "main.py", line 21, in rgbToHex return "#"+decToHex(rgb)+decToHex(rgb)+decToHex(rgb) File "main.py", line 18, in decToHex return hexvals[floor(dec/16)]+hexvals[dec%16] TypeError: unsupported operand type(s) for /: 'tuple' and 'int' `3 years ago
AmazingMech2418
AmazingMech2418
This is great! So, do you think you might do another template too?3 years ago
LizFoster
LizFoster
shared a Post
3 years ago
Yay! With the help of my friend @AmazingMech2418, I have learned the basics of C++! Obviously the first thing I made was a π approximation program! I
PI WITH C++
C++
eco27
eco27
potato3 years ago
KenyKaKa
KenyKaKa
my new life goal, wait till this gets too 9999999999999999999999999 3 years ago
Highwayman
Highwayman
Looking more closely at your program: C++ has for loops. The general syntax is for(int somename = start ; somename < limit ; some_name += step ) much like python’s range function. for i in range(start,limit,step): You’ve probably already learned this by now haven’t you XD oh well here it is if you haven’t.3 years ago
LizFoster
LizFoster
shared a Post
3 years ago
Hello all ! I am so sorry for being gone all weekend, I was super busy . . T~T However, I do not think you will be disappointed, for I was working on
かくかくしかじか
Python (with Turtle)
Highwayman
Highwayman
Yay! Red is here! :P3 years ago
Navinor
Navinor
Liz: Don't spam the keybinds My brain: DONT DO IT DONT DO IT My fingers: Edit: Don't do it this happens image3 years ago
TheDrone7
TheDrone7
It's been a long time since I actively went through the posts on repl talk but I see you've been posting really good content lately. Keep up the good work!3 years ago
LizFoster
LizFoster
shared a Post
3 years ago
Okay, time for something fun that , for once, ISN'T related to π! (Lol) This program takes a user-inputted base and offset, and graphs the correspond
LOGb LOGb^-1
Python (with Turtle)
luffy223
luffy223
wow and didn't understand how how did you made a turtle to graph a function till me 3 years ago
KevinLu2
KevinLu2
By inverse log do you just mean exponential3 years ago
noodles37
noodles37
Another awesome project! Nice job!!!!! #πthon 3 years ago
LizFoster
LizFoster
shared a Post
3 years ago
Let's talk about the Riemann Sum!! Okay, so the Riemann Sum does the same thing that an integral does, as it is essentially measuring the area under
π approximations 3
Python
CodingCactus
CodingCactus
@LizFoster, how is Pokemon violet going btw?3 years ago
bgrubert
bgrubert
You should do the Riemann hypothesis next in python with turtle3 years ago
LizFoster
LizFoster
shared a Post
3 years ago
Yayyyy, it is time again, for a compilation of a few 𝛑 approximations!!! ( ̄ω ̄)/ A few notes and things to consider: Number 2 could have been more ac
π approximations 3
Python
Highwayman
Highwayman
I just spent an hour yesterday trying to optimize #2, and instead I made it 40 times slower ;-; I might have thought if something though...3 years ago
TheForArkLD
TheForArkLD
C28696B8-26F3-4DCB-B227-9E2C79F093BD3 years ago
DJWang
DJWang
Surprise look at your stats!3 years ago
LizFoster
LizFoster
shared a Post
3 years ago
I am so tired... T~T I finally finished it, after slacking off for a few days (やった!) This was honestly a bit frustrating to make.. (Lol) This calcu
All Pythagorean Triples <= 100
Python (with Turtle)
DJWang
DJWang
Bam! Mind BLOWN.3 years ago
luffy223
luffy223
yeah cool triangls . you could draw hero and superhero triangls https://youtu.be/UIjeCKPHbso thier discription we are still witing for pi's third approximation bye 3 years ago
LizFoster
LizFoster
shared a Post
3 years ago
Nothing too special this time ^ ^* A short little program that converts Hexadecimal strings into Decimal numbers. Try setting "C9" as the input, and
Hexadecimal to Decimal
Python
staticvoidliam7
staticvoidliam7
yep. knew it. ur getting into the binary type stuff3 years ago
LizFoster
LizFoster
shared a Post
3 years ago
This is something I have wanted to do ever since I started learning about Python Turtle, as it is just so darn pretty! Recamán's Sequence is a set of
Recamán's Sequence
Python (with Turtle)
Kelvin0
Kelvin0
I've never heard of this sequence before but it looks really neat! Very interesting pattern once it's drawn using python. Well done!3 years ago
staticvoidliam7
staticvoidliam7
what happened to the calculator? i can't find it3 years ago
staticvoidliam7
staticvoidliam7
wow3 years ago
LizFoster
LizFoster
shared a Post
3 years ago
I'm back at it again, this time with a compilation of different formulae for approximating π, with surprising accuracy in some cases! Fascinating stu
π approximations 2
Python
xxpertHacker
xxpertHacker
JS https://repl.it/@StudentFires/pJS, C++ https://repl.it/@StudentFires/pC That is the result of a tutorial on memoization, hours of work on converting loops to recursion, converting mathematical summation and product notation to code, then to recursion, and plenty of Desmos graphing and more. I'll be back on Repl in about 5 hours.3 years ago
xxpertHacker
xxpertHacker
Do you know if this an effective way to calculate π? I believe I'd need p(n)/n to calculate for π after the function. p(z) = ProductNotation(n=1, (2n/(2n-1))^2, z); π = p(∞)/∞ PI Update: Screenshot 2020-04-02 at 3.16.39 PM - Edited3 years ago
codeitfast
codeitfast
Nice! You could also use sin and cos!3 years ago
LizFoster
LizFoster
shared a Post
3 years ago
Today I'd like to teach you all about one of my all time favorite constants: π! Most likely, all of you know that π is the ratio of a circle's circumf
π approximations 1
Python
AdriaDonohue
AdriaDonohue
nice job! also,congrats on geting on the leader bord!3 years ago
AphixDev
AphixDev
Sweet! I've been seeing your posts on these pi methods. This is awesome :)3 years ago
JosiahKnisely
JosiahKnisely
Wait, there are different numbers for π? This is when the confusion sets in...3 years ago
LizFoster
LizFoster
shared a Post
3 years ago
(NOTE: It only does 18 iterations, as if you try to do any more, it raises an OverflowError, how lame.. -__-) わーい, another π approximation method! (I
Chudnovsky Algorithm
Python
staticvoidliam7
staticvoidliam7
hi liz2 years ago
oneiric
oneiric
this is really cool! I love your posts, now i have to find out more about the Chudnovsky algorithm.3 years ago
staticvoidliam7
staticvoidliam7
im working on a 12hr format to 24hr format converter in c3 years ago
LizFoster
LizFoster
shared a Post
3 years ago
The golden ratio (φ) is the number you get by doing this equation (when given a and b): a / b = a+b / a φ is approximately 1.61803398874989484820 (I
φ.
Python
LizFoster
LizFoster
shared a Post
3 years ago
And another one!! That was quick (Lol) Using the Product operator (𝚷), you can skip all of the confusing ∫ math in the Wallis Product for π. This i
Wallis Product
Python
LizFoster
LizFoster
shared a Post
3 years ago
Alright, another way to compute π, done! This uses an infinite series (via the summation operator) discovered by our good friend Leonhard Euler, whic
Basel Problem
Python