mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Programming

Reply
 
Thread Tools
Old 2016-10-29, 20:42   #12
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

7·1,423 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
LOL... If I may share that image looks almost exactly like my pot dealer in Victoria twenty years ago.

I now pay about twice as much for my weed, but at least now my dealer wears a tie and drives a Toyota....
chalsall is offline   Reply With Quote
Old 2016-10-30, 05:38   #13
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
At that is why I put it in a different (lighter) color, after the complement. I was going to make the text small too.
You know, it's rather unusual to see people confuse complement for compliment rather than the other way around
Dubslow is offline   Reply With Quote
Old 2016-11-01, 05:43   #14
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

9,787 Posts
Default

Quote:
Originally Posted by kladner View Post
I passed this along to partner Dan, and he got hooked for a good part of an hour.
Same here, I was hooked for a while. Went back to it periodically. Spent like few hours or so, totally. One issue I found from the very start was that stirring the water with the mouse does not create "deeps", but it creates "peaks". The water is "attracted" to the mouse, which is contrary to physics, it would be more realistic if you turn the pool upside down, but hell, then the splashes would be totally wrong. Whatever.

Due to it, my favorite think/game became very fast the next trick: move the ball to the bottom (to get rig of it), kill the gravity (so the ball stays down), then let the water ripple cool down. When everything is quiet, use the space key to pause the animation. Using the mouse, try to make a peak/column of water as tall as possible, and as thin as possible, in the middle of the pond. You must not "drag" with the mouse, only keep clicking on the same point on the middle of the pond, and possible (or not) move very little around the initial clicking point. Rotate the pool around, to visualize your creation. You will get it right after a little bit of try and error. Then, when you are satisfied with your water column, press space to start the animation. Watch the ripples. That is amazing, and wonderful. I made diamonds and tetrahedral stars. You can also try to play with the position, size, etc, of the column (not exactly centered, or create 2, 3, 4 columns, symmetrical or not from the center) - you will do that anyhow by accident, as you will not be able to make a perfect column from the first try.

Breathtaking!

Last fiddled with by LaurV on 2016-11-01 at 05:47
LaurV is offline   Reply With Quote
Old 2016-11-01, 13:25   #15
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

4,021 Posts
Default

If you turn off gravity, shouldn't everything, but the pool walls, float away?
EdH is offline   Reply With Quote
Old 2016-11-01, 15:29   #16
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

9,787 Posts
Default

gravity applies to the ball only
LaurV is offline   Reply With Quote
Old 2016-11-02, 02:13   #17
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

4,021 Posts
Default

Quote:
Originally Posted by LaurV View Post
gravity applies to the ball only
If you were to remove gravity selectively from the ball and not the water, then the ball would be shot up into the air (or whatever is above the water) and float away.
EdH is offline   Reply With Quote
Old 2016-11-02, 05:21   #18
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

1000011010002 Posts
Default

I find the applet fascinating, because I can remember a time when rendering a much smaller scene and with much less refraction accuracy would take about half an hour to render on 3d-Studio (per frame). For this to work utilizing built in engine in all major browsers in real time is amazing IMHO.
As for correctness of the physics, what I find very artificial is that the ball is always bone dry when pulled out of the water. But then again I am amazed that the total-internal-reflection is very accurately simulated.
BTW, should anyone be interested in using the webGL, probably the easiest way is to use blend4web add-on in Blender. But I have a feeling making an applet like the OP is not going to be that straight forward.

the service seems to be closely related/parallel to flash but it works where flash does not work, namely on IOS devices such as iPhones and IPads.

Last fiddled with by a1call on 2016-11-02 at 05:25
a1call is offline   Reply With Quote
Old 2019-11-07, 01:42   #19
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

41508 Posts
Default

Things have progressed and now they're is an easier way of converting CAD TO webGL.
Not only that you can make some dinero as well as be amazed at all the talent out there:

https://sketchfab.com/3d-models?date..._by=-likeCount


Just a sample among many:



Tutankhamun golden Mask
https://sketchfab.com/models/4d5723e...c293ce8fc332b8

Last fiddled with by a1call on 2019-11-07 at 02:08
a1call is offline   Reply With Quote
Old 2019-11-08, 22:31   #20
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

23·269 Posts
Default

A masterpiece by a1call titled:
Mona Lisa would have stopped smiling if she had seen this

Note:
There is music embedded in the applet.

http://apgn.19.lc/webGL/

Last fiddled with by a1call on 2019-11-08 at 22:33
a1call is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
New feature in my ECM applet alpertron Factoring 87 2014-11-21 21:23
New online applet for factorization ET_ Lone Mersenne Hunters 69 2014-06-01 17:34
A strange applet: 3.14159 Miscellaneous Math 7 2010-06-01 01:29
GMP-ECM vs. Alpertron's factoring applet ixfd64 GMP-ECM 4 2006-01-02 13:13
Faster factorization applet alpertron Factoring 14 2006-01-01 04:00

All times are UTC. The time now is 05:39.


Mon Oct 25 05:39:09 UTC 2021 up 94 days, 8 mins, 0 users, load averages: 0.88, 0.95, 0.99

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.