Forum Replies Created
-
AuthorPosts
-
blippypixelCustomer
Pico 8 version done with A.I!
The possibilities…..
This project would be great in Verge 3d with hand detection in VR using AI used to make it.
I find using A.I, I can concentrate on designing things and experimenting more rather than getting stuck on code!
Attachments:
You must be logged in to view attached files.blippypixelCustomerOk. Well maybe I will try that.
I would really encourage you to have a look at this Yuri – A.I
Look what I have achieved with A.I. The synthesizer works in 2d now.
It’s all in javascript.
It took a couple of weeks.
How cool would it be to get this into Verge 3d using AI and then VR?
It is within our reach!Attachments:
You must be logged in to view attached files.blippypixelCustomerThanks so much I’m very grateful
blippypixelCustomerThanks.
Here it is.
Sorry for the state of it lol I am no programmer!Attachments:
You must be logged in to view attached files.blippypixelCustomerI think there was another issue with this. I will report back. I had some javascript code with canvas in the project and I think it was stopping this button colour changing. I will report back ( testing my mac when I get it back out)
2024-10-03 at 6:21 pm in reply to: How to reference a Verge 3d varible in a Javascript Code Puzzle #77793blippypixelCustomerThank you. It’s kind of you to try to help.
Is that what you write in Javascript? VARS
If anyone can point me to the page with the documentation or an example it would be great.
Sorry I am really struggling with this simple thing!2024-10-02 at 12:03 pm in reply to: How to reference a Verge 3d varible in a Javascript Code Puzzle #77764blippypixelCustomerSorry I thought your webp attachment was the code or the project not a screenshot! I am still trying to work this out….
2024-10-02 at 9:02 am in reply to: How to reference a Verge 3d varible in a Javascript Code Puzzle #77763blippypixelCustomerSorry I just saw you had attached the puzzle to this so I will try that. Apologies
2024-10-01 at 7:43 am in reply to: How to reference a Verge 3d varible in a Javascript Code Puzzle #77745blippypixelCustomerSorry Yuri. I had a go at this. I’m a bit confused.
The procedure above – I can’t see how you can add one like your example.
to getVar with: varnameI can’t see with: varname in the procedure puzzle.
Also where is the ‘variable value by name’ please? I know they are colour coded but I can’t find it either. Sorry!Maybe it would be useful if Verge had a search function so the user could search for a puzzle by name. Thanks!
2024-10-01 at 6:42 am in reply to: How to reference a Verge 3d varible in a Javascript Code Puzzle #77741blippypixelCustomerThank you Yuri!
blippypixelCustomerYeh I only say this as I’ve had Verge 3d experiements on my hard drives over the years then I lose them or can’t remember where backups are.
If they were in the cloud it would make life much easier to revisit projects.blippypixelCustomerI asked Chat GPT and it produced this code. I wasn’t sure how to integrate it or get the click into Verge 3d. Any help is greatly appreciated. Thank you
<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<title>Voice-Triggered Click</title>
</head>
<body><button id=”myButton”>Click me</button>
<script>
// Function to trigger a click on the button
function triggerClick() {
document.getElementById(‘myButton’).click();
}// Check if browser supports Web Speech API
if (‘webkitSpeechRecognition’ in window || ‘SpeechRecognition’ in window) {
const SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition;
const recognition = new SpeechRecognition();recognition.continuous = true; // Keep listening for multiple commands
recognition.interimResults = false; // Don’t display partial results
recognition.lang = ‘en-US’; // Set language// Start recognition
recognition.start();recognition.onresult = function(event) {
// Get the recognized speech
const transcript = event.results[event.resultIndex][0].transcript.trim().toLowerCase();console.log(‘Recognized speech:’, transcript);
// If the recognized command is ‘click’, trigger the click event
if (transcript === ‘click’) {
triggerClick();
}
};recognition.onerror = function(event) {
console.error(‘Speech recognition error:’, event.error);
};} else {
console.error(‘Web Speech API is not supported in this browser.’);
}// Optional: add a listener to show feedback for manual clicks
document.getElementById(‘myButton’).addEventListener(‘click’, function() {
alert(‘Button was clicked!’);
});
</script></body>
</html>blippypixelCustomerThanks a lot.
I just couldn’t see how to do it in the examples.
I really struggle with Verge 3d but I am making some small steps!blippypixelCustomerThanks. I had but to be honest they are too difficult to understand (for me)
blippypixelCustomerIt’s ok I can see how to download it with the green down arrow
-
AuthorPosts