Share your repls and programming experiences

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

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

Commentshotnewtop
LiamDonohue (273)

I've been loving this language so far lol

HENRYMARTIN4 (302)

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

CodingCactus (2121)

@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 (302)

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

CodingCactus (2121)

@HENRYMARTIN4 how did that affect your comment?

Coder100 (2031)

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

amasad (2269)

Awesome! Now make it animate!

CodingCactus (2121)

@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 (2269)

@CodingCactus Yes I just added to the documentation: CLS

And to clear one pixel just set it to white.

CodingCactus (2121)

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

amasad (2269)

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

CodingCactus (2121)

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

CodingCactus (2121)

@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.