html5 javascript, uh 'applet/screensaver' | xltronic messageboard
 
You are not logged in!

F.A.Q
Log in

Register
  
 
  
 
Now online (2)
belb
Monoid
...and 131 guests

Last 5 registered
Oplandisks
nothingstar
N_loop
yipe
foxtrotromeo

Browse members...
  
 
Members 8025
Messages 2613408
Today 0
Topics 127499
  
 
Messageboard index
html5 javascript, uh 'applet/screensaver'
 

offline w M w from London (United Kingdom) on 2019-04-27 02:34 [#02576055]
Points: 21419 Status: Regular



In theory, you could download this which is an html file,
then open it with firefox etc
LAZY_TITLE
and it should show this dumb&or cool thing I made, ummm,
based on this thing I saw here:
Oh, yeah.. I forgot to write 'beginPath()' heaven forbid,
and this one missing line caused the whole thing to eat up
tons of memory and close all my other firefox windows, so
I'll post that link later. It took like 10x longer to figure
out this idiotic missing beginPath than the rest of the
code, typical javascript (with camel cunt case, which sucks,
you always have to remember if some cunt camel came along
and camel cased something or not).


 

offline w M w from London (United Kingdom) on 2019-04-27 02:37 [#02576056]
Points: 21419 Status: Regular



camelCaseLinkStupidCamels


 

online belb from mmmmmmhhhhzzzz!!! on 2019-04-27 02:41 [#02576057]
Points: 6384 Status: Lurker



woah that's fuckin bananas


 

online belb from mmmmmmhhhhzzzz!!! on 2019-04-27 02:43 [#02576059]
Points: 6384 Status: Lurker



seriously man i can't stop watching


 

offline w M w from London (United Kingdom) on 2019-04-27 03:16 [#02576061]
Points: 21419 Status: Regular



If you open in notepad++ you can see the code which is
pretty short. That other video gives a good explanation, and
thought it was interesting so tried coding it. I'll watch
more of his videos.


 

offline w M w from London (United Kingdom) on 2019-04-27 08:20 [#02576065]
Points: 21419 Status: Regular



Got an idea for one of his other videos drawing 'tangent'
lines around a circle. but there was a 2nd point rotating
(and radius changing) around the center and the lines were
tangent to that instead. Made weird geometry that inverts
between hourglass and hole. I call it hourgl(asshole). Thank
you.
hourgl(asshole)


 

online belb from mmmmmmhhhhzzzz!!! on 2019-04-27 08:44 [#02576067]
Points: 6384 Status: Lurker



great stuff, love it


 

offline w M w from London (United Kingdom) on 2019-04-27 08:49 [#02576068]
Points: 21419 Status: Regular



Maybe aphex can feature hourgl(asshole) in an (anal)ord
music video. Soon it will be illegal to have an asshole due
to carbon emissions, so the government will have your
assigned TSA agent come and fill it in with a government
approved walmart sold substance like silly putty.


 

offline mermaidman on 2019-04-27 10:39 [#02576069]
Points: 8299 Status: Regular | Followup to w M w: #02576068



an asshole is like a small black hole if you think about it.
btw i really like the first link wmw very nice


 

offline Hyperflake from Wirral (United Kingdom) on 2019-04-27 14:52 [#02576083]
Points: 31006 Status: Lurker



nice one, are you just doing this for the hell of it?


 

offline Hyperflake from Wirral (United Kingdom) on 2019-04-27 14:55 [#02576084]
Points: 31006 Status: Lurker



"iv you multiply vy 200 you get dis guy here"


 

offline mohamed from the turtle business on 2019-04-27 15:30 [#02576088]
Points: 31145 Status: Regular | Show recordbag



cool shit w M w

i thought is was nice on the comp, but could be ace on the
phone, opened the second file with html viewer and just got
a nice 'jav ass script' writing.


 

offline mohamed from the turtle business on 2019-04-27 15:34 [#02576089]
Points: 31145 Status: Regular | Show recordbag



obliviously just for the prestige to show it to others


 

offline umbroman3 from United Kingdom on 2019-04-27 15:42 [#02576090]
Points: 6123 Status: Lurker



Spirograph


 

offline w M w from London (United Kingdom) on 2019-04-27 18:15 [#02576108]
Points: 21419 Status: Regular | Followup to mohamed: #02576088



adding 2nd line after 1st line (like by opening in
notepad++, edit, save) might make it smaller for a phone to
run it:

ctx=can.getContext('2d')
ctx.scale(0.3, 0.3)

but phones are probably too saturated with enslavement
algorithms to run spirograph. Spirograph is like colored
chalk, it must be banned to prevent independent thought
alarms.


 

offline EpicMegatrax from Greatest Hits on 2019-04-27 18:21 [#02576113]
Points: 25264 Status: Regular



it's a sphere of context


 

offline EpicMegatrax from Greatest Hits on 2019-04-27 18:21 [#02576115]
Points: 25264 Status: Regular



$this


 

offline mohamed from the turtle business on 2019-04-28 10:40 [#02576170]
Points: 31145 Status: Regular | Followup to w M w: #02576108 | Show recordbag



i tried with textedit but it gives me a blank file

anyway i dont need to show it anymore cos im not meeting
anyone anymore this weekend


 

offline Indeksical from Phobiazero Damage Control (United Kingdom) on 2019-04-28 11:47 [#02576175]
Points: 10671 Status: Regular | Show recordbag



That's well cool, I edited one but I've never looked at
JavaScript before. It SHOULD be different every time you
refresh the page.

LAZY_TITLE


 

offline w M w from London (United Kingdom) on 2019-04-28 18:00 [#02576195]
Points: 21419 Status: Regular



Nice, I needed more randomization. With some sort of line
intersecting algorithm to obtain a grid of points, you could
probably treat the squares as a weird geometry grid to do
tetris or whatever on it. Html5 is good to share actual
running code instead of a stupid proprietary 50 frame gif
made from code. I guess we have to use html5 since the nwo
decided to herd people away from flash with 'are you sure
you want to run flash' or whatever popups, which is curious
since adobe is clearly evil so you'd think they'd select
that. I guess html5 is more evil.


 

offline Indeksical from Phobiazero Damage Control (United Kingdom) on 2019-04-28 19:26 [#02576200]
Points: 10671 Status: Regular | Show recordbag



This is fun, I made mine more random. I want to do one with
straight lines that turn corners


 

offline w M w from London (United Kingdom) on 2019-04-28 19:45 [#02576202]
Points: 21419 Status: Regular



You can sometimes see 2 lines bunched close together in
yours because 'npoints' is the number of points evenly
spaced around a circle so it should probably stay an integer
not a float/decimal. that website doesn't have any other
purpose? ha ha


 

offline Indeksical from Phobiazero Damage Control (United Kingdom) on 2019-04-28 20:14 [#02576203]
Points: 10671 Status: Regular | Followup to w M w: #02576202 | Show recordbag



I changed a line but i don't think i fixed it. website has
no purpose at the moment, if you want to host stuff on there
just let me know, there's loads of space.


 

offline Indeksical from Phobiazero Damage Control (United Kingdom) on 2019-04-28 20:17 [#02576204]
Points: 10671 Status: Regular | Show recordbag



oh wait i see what u mean now


 

offline w M w from London (United Kingdom) on 2019-05-02 03:36 [#02576483]
Points: 21419 Status: Regular



Hello high order of weiner touchers, here is one on
jsfiddle. It was made by google because google owns my brain
and the intellectual property inside my brain, and
everything on the internet especially stuff posted to nwo
sites like jsfiddle. Thanks to google and the fbi for
enforcing google's property claims.

Every page refresh is unique:
LAZY_TITLE
The idea (google's idea) was based on 'iterated function
systems' which i saw here:
LAZY_TITLE
Quite different than mine.
To my thinking that basically means a fractal but instead of
doing the same thing (replace a triangle with 3 triangles or
whatever) it randomly chooses among 3 possible choices-
start w a large square.
now this square spawns 'children squares' that will be
inside and translate or rotate relative to their mom (if mom
rotates, children rotate etc).
choice 1) becomes 3 squares that slide around
choice 2) becomes 2 squares that change in scale at their
diagonal
choice 3) becomes 1 square that rotates inside it's mom
square



 

offline w M w from London (United Kingdom) on 2019-05-03 08:21 [#02576551]
Points: 21419 Status: Regular



Here you gooooooooo..... BUTTHOLES!
LAZY_TITLE
i started with sin(angle) multiplied by radius of screen.
now instead i have sin of 4 angles that all add up to radius
of screen. then i edited until weird stuff i half understand
happened, cuz math is smarter than human brain.

turns out you don't even need cosine. you can just do
sin(angle+90) for cosine instead! So there are no cosines in
that cool program, thanks.


 

offline w M w from London (United Kingdom) on 2019-05-15 19:15 [#02577595]
Points: 21419 Status: Regular



recaman sequence, changes color, you can click to scroll
around
LAZY_TITLE

description of sequence in this video, which has an
interesting sounding melody interpretation:
LAZY_TITLE


 

offline Hyperflake from Wirral (United Kingdom) on 2019-05-15 19:28 [#02577596]
Points: 31006 Status: Lurker



cool shit,


 

offline w M w from London (United Kingdom) on 2019-05-15 21:08 [#02577605]
Points: 21419 Status: Regular | Followup to Hyperflake: #02577596



Thnaks, same as previous but right mouse zooms, left
scrolls
LAZY_TITLE
when zoomed in, looks like i arced the circle in the wrong
vertical direction sometimes, all well.


 

offline Hyperflake from Wirral (United Kingdom) on 2019-05-15 22:51 [#02577618]
Points: 31006 Status: Lurker



have you thought about farting around with a dedicated
JavaScript fx library


 

offline w M w from London (United Kingdom) on 2019-05-16 01:43 [#02577637]
Points: 21419 Status: Regular



I used pygame w/ python, haven't bothered with jav ass
crapped libraries yet. maybe other people would have to
install the library themselves to see it.


 

offline mohamed from the turtle business on 2019-05-16 17:59 [#02577659]
Points: 31145 Status: Regular | Show recordbag



nice stuff w M w, would be better widescreen


 


Messageboard index