• Welcome to the Speedsolving.com, home of the web's largest puzzle community!
    You are currently viewing our forum as a guest which gives you limited access to join discussions and access our other features.

    Registration is fast, simple and absolutely free so please, join our community of 40,000+ people from around the world today!

    If you are already a member, simply login to hide this message and begin participating in the community!

Programmers wanted

StachuK1992

statue
Joined
Jul 24, 2008
Messages
3,812
Location
West Chester, PA
WCA
2008KORI02
YouTube
Visit Channel
Your mouse button is probably stuck in or something.

One time, my computer restarted uncontrollably on startup. I spent quite some time trying to figure out what was wrong.
An hour later, I realized the escape key was being held down by a large textbook.
 

bcube

Member
Joined
Sep 8, 2010
Messages
336
https://www.youtube.com/watch?v=FKIdNJ9HSMk&feature=youtu.be
At 0:21 the cube moves even though I am not clicking at all.

From what I see in your video, it seems to be related to the bug which was linked at in my previous post. When left-clicked inside the border and dragged outside the border, then moves are made by themselves consequently (after dragging back to the border). It seems to me that you left the border while the simulator was still making a move, so I can imagine this is similar to the situation I just wrote about.

It has been reported, nevertheless, thank you for pointing it out.
 
Last edited:

bcube

Member
Joined
Sep 8, 2010
Messages
336
Why does it just sometimes move uncontrollably when you only hover your mouse over the cube?

Should be fixed now. Can you confirm it?

bcube said:
As he is working on his project, several issues show up. The one I have in mind is that when viewing his site on android (galaxy ace 3), the cubes are not visible.

Could you please test it on your mobiles/tablets and post the results here or to his github mentioned earlier? Any help would be appreciated.

No feedback at all? :-(
If you are viewing it on mobile device, do you see black artifacts on stickers?
 

bcube

Member
Joined
Sep 8, 2010
Messages
336
While browsing Ryan Heise's page on my mobile phone, I noticed the 3x3x3 simulators are working. Could this be helpful in any way?

Till the time Werner or Michiel will finish their work with adjustable WebGL simulator, could anyone describe me the way how to use Josef's java-based applets in a JS form (i.e. how it can be seen on Ryan's page)?
 

molarmanful

Member
Joined
Dec 13, 2014
Messages
393
Location
Smerbia
WCA
2015PANG02
YouTube
Visit Channel
While browsing Ryan Heise's page on my mobile phone, I noticed the 3x3x3 simulators are working. Could this be helpful in any way?

Till the time Werner or Michiel will finish their work with adjustable WebGL simulator, could anyone describe me the way how to use Josef's java-based applets in a JS form (i.e. how it can be seen on Ryan's page)?

Ryan is using his own simulator, called AnimCube. Example here. Haven't looked into it much, but Ryan displays the cube using an iframe tag.
 

bcube

Member
Joined
Sep 8, 2010
Messages
336
Ryan is using his own simulator, called AnimCube. Example here. Haven't looked into it much, but Ryan displays the cube using an iframe tag.

AnimCube is originally widely used java-based applet made by Josef (see e.g. my post from 8. 5. in this thread), if I am not mistaken.

I am asking because I use Josef's java applets a lot currently...
 

molarmanful

Member
Joined
Dec 13, 2014
Messages
393
Location
Smerbia
WCA
2015PANG02
YouTube
Visit Channel
AnimCube is originally widely used java-based applet made by Josef (see e.g. my post from 8. 5. in this thread), if I am not mistaken.

I am asking because I use Josef's java applets a lot currently...

Oh.

Hmm... I was looking at the source code, and the Javascript seems like it was compiled from Java using GWT. Not too sure because I haven't seen the original AnimCube Java source code, but it seems to be the case here. That's why the cube displays on mobile.
 

bcube

Member
Joined
Sep 8, 2010
Messages
336
Hmm... I was looking at the source code, and the Javascript seems like it was compiled from Java using GWT. Not too sure because I haven't seen the original AnimCube Java source code, but it seems to be the case here. That's why the cube displays on mobile.

Thank you for an explanation, but let me re-formulate my initial question: what do I need to do in order to display Josef's applets on my/any website? Please answer explicitly (in steps for instance), not generally ;-)

I believe java source code is open to look. In case you are interested, all you need to do is download it from Josef's page :)
 

bcube

Member
Joined
Sep 8, 2010
Messages
336
I googled a little bit and found this documentation by Michael Feather. Would it be now possible for you to give some tutorial how can I run it on my/any site?
 

molarmanful

Member
Joined
Dec 13, 2014
Messages
393
Location
Smerbia
WCA
2015PANG02
YouTube
Visit Channel
Okay, I figured out how to get the AnimCube JS port to work. The demo is here, and the source code is linked in the demo.

I gotta say, I am really surprised. It is super-customizable, and works as well, if not better than, the original Java applet.
 

Lars Petrus

Member
Joined
Mar 22, 2009
Messages
67
WCA
1982PETR01
7.) movetext parameter - VERY IMPORTANT feature for the end user, needed value 0 - through additional text I can describe what is really happening on the applet in the moves no. 64 - 72 for example (this was the main reason I chose Josef´s java applet for 3x3x3 instead of Werner´s one back in 2004)

8.) move parameter - please make standard notation, Lars´ is awful for me to define

9.) facelets parameter - please make something standard (see Josef´s or Werner´s java applet), Lars´ is awful for me to define

( I assume I am the "Lars" here )

7. If you're talking about displaying some text like "Here we orient the corners" during move 24-32, perhaps with arrows pointing at them, I really want to do that. Not sure how it should work.

8. As far as I know my move notation is standard. What are you missing?

9. My old java applet used that, but I thought it was a huge pain to work with. Can you tell me more?
 

Lars Petrus

Member
Joined
Mar 22, 2009
Messages
67
WCA
1982PETR01
I think I understand your various reasons, but let me state my own for thinking exactly the same thing.
2. Roofpig by Lars Petrus is awesome, but the cube doesn't look as good as the applet by Werner Randelshofer (now defunct java applet). Configuration is so powerful it's a bit too much, not simple enough.

Hi Michiel!

I guess we're kinda competitors now, but I am interested in what you think is too ugly or complicated?
 

bcube

Member
Joined
Sep 8, 2010
Messages
336
( I assume I am the "Lars" here )

7. If you're talking about displaying some text like "Here we orient the corners" during move 24-32, perhaps with arrows pointing at them, I really want to do that. Not sure how it should work.

8. As far as I know my move notation is standard. What are you missing?

9. My old java applet used that, but I thought it was a huge pain to work with. Can you tell me more?

There is a chance I meant Lars Vandenbergh but no, your assumption was correct. You are Lars :).

7 - no no, nothing like that. My point is about making a move counter, because it serves as a great reference point (and I think sometimes it is also useful to show the performed algorithm inside the simulator too). By additional text I meant something written on a webpage itself. Your suggestion might work as well for a short text ( which I don't use for an explanation of moves in a simulator ).

8 - I tried to explain a move R ( from solved initial position to the position where cube is one move away its solved position ). I wanted initial position as follows : white on top, green in front. After I finally achieved the required orientation ( it was rather a trial-error experiment because the rotations didn't work as expected ), the intended move ( R in this case ) was not done - instead it was performed another move like U or even M. I can't imagine to actually solve a scrambled cube using my orientation, because when orientation is changed, the standard moves don't correspond.

9 - sometimes it is required to choose given stickers, while others can be ignored ( OLL for example ). I don't show unnecessary stickers to the end user because of better orientation on the cube. I don't remember now where I got stucked but I didn't manage to display them as needed.

P.S. let me quibble a bit : your tech support could be better because you didn't answer to my mail sent to you some time ago ;-).

I also couldn't find all adjustable parameters in one place ( could be because of github which i don't like ) so I rather made trial-error and saw what happened.

P.S.2: now I remember where I got stucked trying to show only some stickers. It was too difficult for me to define them. Your almost mathematical description is not simpy enough (I admit I gave it up after like four tries, considering the troubles I already mentioned above).
 
Last edited:

bcube

Member
Joined
Sep 8, 2010
Messages
336
Personally, I think Roofpig is great, but if you need a tutorial, I can write one up. Or you could stick with the AnimCube JS port.

Thank you but it is not neccessary for me. As I was saying on your github, I will temporarily use Michael's simulator (AnimCube JS port) and then I change to something else (probably WebGL version by either Michiel or Werner). I don't plan to use Lars' simulator (Roofpig) in the future.
 
Top