Volcanic-Penguin on DeviantArthttps://www.deviantart.com/volcanic-penguin/art/Psychadellivision-14080073Volcanic-Penguin

Deviation Actions

Volcanic-Penguin's avatar

Psychadellivision

Published:
1.8M Views

Description

Alright, just because you people liked it so much (and I think you're crazy for doing so) I've updated it a bit. Well, quite alot actually. So now it's a bit more worthy of all those favs it's got. Click on the buttons in the lower left corner to change the amount of lines and their rotation, and click anywhere on the scene to change the appearance of the lines. You can aslo click on the little buttons in the lower right corner to switch between a black and white background. Enjoy.

Added the original type of line because one person told me they liked it better as it was before. And while I was at it, I added another one too.

edit: Added three types of lines, and took all the old arrangements and copy-paste-and-flipped them. Why didn't I think of that before -_- I know, I've updated this one alot and haven't uploaded anything new, I'm working on something else but it's a much bigger thing so it'll take a while.

¨¨¨
The new script is a bit long so I'll just leave the old one:

Here's the old script, which is put on four copies of the same movieclip placed in the center of the Scene. They're initially rotated 0(360?), 90, 180, and 270 degrees, to make it so, well, you figure it out. It's pretty simple really.

onClipEvent (load) {
x=0 //where the dot is
y=0 //where the dot is
xmove=0 //it's movement
ymove=0 //it's movement
}
onClipEvent (enterFrame) {
xmove+= (_root._xmouse-_x-x)/10 //math
ymove+= (_root._ymouse-_y-y)/10 //math
x+=xmove+(_root._xmouse-_x-x)/10 //math
y+=ymove+(_root._ymouse-_y-y)/10 //math
clear()
lineStyle(1,000000,100)
moveTo(oldx,oldy)
lineTo(x,y)
oldx=x //this is so that in the next frame it knows where the dot was last frame
oldy=y //this is so that in the next frame it knows where the dot was last frame
_rotation-- //This is negative on two of the movieclips (that initially have an opposite rotation to eachother), and positive on the other two.
}
Image size
550x400px 3.43 KB
© 2005 - 2024 Volcanic-Penguin
Comments2250
Join the community to add your comment. Already a deviant? Log In
benjamwelker's avatar

I've been trying to convert this to HTML5 and Canvas, I hope you don't mind. I've loved this little flash thing for quite a while now. And am sad that I can't play with it now that flash is no more.


Would you be willing to share your original code with me so I can improve/update anything that might not be correct?


https://github.com/benjamw/tracers

https://benjamw.github.io/tracers/