Share your repls and programming experiences

← Back to all posts
colorful double helix
procoder165

was bored again in class so I decided to make this.

Voters
ikumen
davidyu9
KadenAbasolo
AustinZhang1
AshCodz
SelenaYang1
RayvelArjoon
imnuex
DorshReal
guaczilla21k
Comments
hotnewtop
[deleted]

Nice! I can watch this for like 5 min straight.

AdCharity

nice :D I would add the middle bars as well (like the nitrogenous bases stuff)

procoder165

@AdCharity will do! :)

AdCharity

@procoder165 if you look at it the right way it looks like it's spinning

DJWang
DJWang

Boi this is awesome

[deleted]

very satisfying

Highwayman

Holy crap.

Foster_Bryant

this is epic

TheImagin33r

woa

RayvelArjoon
[deleted]

@RayvelArjoon

RayvelArjoon

@CodeABC123 No one should be using Java because of how poorly made it is. JavaScript has better frameworks and can be easily linked to HTML and CSS files without problems. It takes a lot more time and it's stupid to use Java. You need another language if you're going to make proper graphics. I rest my case.

MatthewDoan1

@RayvelArjoon What are you talking about? You're saying that JS can link to HTML and CSS. Oh WoW JaVaScRiPt Is A fRoNt-EnD cOdInG lAnGuAgE wHiLe jAvA iSn'T!!! Java is usually used for the back-end, so they are not comparable (in this case). Also, yes Java takes more time but that doesn't mean it's stupid. Python is quick-and-easy but I hate it because of its indentation policy. Also, this isn't even "proper graphics". This is just a fun little thing he made in the console. Tell me, what "proper" graphics can you do with JavaScript besides the web page? Java can be used with LWJGL, JavaFX, Slick2D, etc. for computer games. Also, you can make Android apps with Java. Meanwhile, here we are using JavaScript for what? Oh wow a text box can move omg so cool.

kingretracted

Hot :D

imnuex

I made something "similar":
https://repl.it/@imnuex/testing

pyplacca

Very cool @imnuex
Why don't you use a single print function and set the sep keyword to '\n'. Like this;

imnuex

@pyplacca or defining a function then using it as a loop.

pyplacca

@imnuex but then, print still appears more than once for the same purpose. You need to keep the Don't Repeat Yourself principle in mind.
So you could write something like this;

imnuex

@pyplacca I do remember the DRY principle.

Evanlicious

@imnuex Hey, I made a shortening of your code if you want to see it. I made it more loop based, and I made it so it was not a function. I reduced the number of lines a bit too, not sure if it goes faster though.

https://repl.it/@Evanlicious/Revision-of-a-cool-thing

https://repl.it/@Evanlicious/Revision-of-a-cool-thing

imnuex

@Evanlicious i mean, you can't calculate how much a computer takes to do something

Evanlicious

@imnuex Sometimes there are ways, but yeah, you're probably right.

HENRYMARTIN4

EPICCCCCC!

AshCodz

Wow!

king2010

this thing confuses my mind
it turns from 2d to 3d 2d to 3d 2d to 3d ITS TOO CONFUSING but I love it

ELCerdito11

wait. are the two waves bouncing off each other or are they switching sides?

Cliffhanger58

this is cool

AtriDey

If you look closely, it's 3D and rotating.

Farshadow6277

great to watch,

KEOLAOTA

great man can you help me with mine https://repl.it/join/eqycumrm-keolaota

procoder165

@KEOLAOTA i can help you out in java, i cant really do html that well

CosmoCat19

@KEOLAOTA I can help you with html

CharlieBakerSBS

y

ChadLatny

very cool

SombreBatSoup

This is trippy! XD

ThePhoenixfish

Nice Job!
:D

Tylerdclark

Very cool! Do you have any suggested reading to learn about shell coloring?

kingretracted

<3

HENRYMARTIN4

Hypnotizing...😮

MrBoraY

very nice

Dart

Dope.

JeremyIrwin

mesmerizing

abbydebell

made this in Neon (boArD ToO LOL XD) check it out if u wanna :p
https://repl.it/join/qakcwdah-abbydebell

lellala

this is hypnotising. ITS GREAT! XD