Share your repls and programming experiences

← Back to all posts
Attempt at Profile Picture using the new BASIC language
h
CodingCactus (4189)

My attempt at using the new BASIC language made by @amasad (https://repl.it/talk/learn/Announcing-Basic-Language-With-Graphics-Beta/31741) to recreate my profile picture.

I'm not very good at drawing btw

Comments
hotnewtop
CodingCactus (4189)

https://views.codingcactus.repl.co

LiamDonohue (291)

I've been loving this language so far lol

HENRYMARTIN4 (386)

It's great. The next thing to do is to animate it!

CodingCactus (4189)

@HENRYMARTIN4 I can't do that because of how the blocks are individually plotted which is a shame. Best I could do:

https://repl.it/@CodingCactus/Attempt-at-Profile-Picture-Animate

HENRYMARTIN4 (386)

@CodingCactus i actually just saw your profile page right after i posted this comment.

CodingCactus (4189)

@HENRYMARTIN4 how did that affect your comment?

Coder100 (17018)

Woah!
Next up: TI-basic for my calculator lol

amasad (3358)

Awesome! Now make it animate!

CodingCactus (4189)

@amasad I'm not sure how I would do that because of the way it plots the individual points, It wouldn't be very smooth (you would have to build up the picture every time). Also, is there a way to clear the screen/one of the pixels (squares)?

amasad (3358)

@CodingCactus Yes I just added to the documentation: CLS

And to clear one pixel just set it to white.

CodingCactus (4189)

@amasad ok thanks, and also is there a way to change the colour of more than one pixel at a time?

amasad (3358)

@CodingCactus not right now, but this might be good to add. Like a way to pass it an array or something

CodingCactus (4189)

@amasad yeah, it would mean that you could make stop animations (kinda)

CodingCactus (4189)

@amasad

https://repl.it/@CodingCactus/Attempt-at-Profile-Picture-Animate :

Best I can do, I think, trying to animate it, because I have to plot each point individually.