Welcome to TalkGraphics.com
Results 1 to 10 of 14

Thread: ChatGPT

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Location
    Kildare, Ireland
    Posts
    906

    Default Re: ChatGPT

    I haven't tried ChatGPT myself but it looks amazing what it can do. The only new AI tool I've really tried a bit is Bing image creator which seems kinda nice too but sometimes it can generate funny/disturbing people with extra limbs or contorted facial expressions

    Edit: here's a quick example I just did, complete with additional foot

    Click image for larger version. 

Name:	bing-image-ai.jpg 
Views:	62 
Size:	93.0 KB 
ID:	133570
    XT-CMS - a self-hosted CMS for Xara Designers - Xara + CMS Demo with blog & ecommerce shopping cart system.

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,912

    Default Re: ChatGPT

    Chris, I would have asked for example code for a responsive CSS3 sliding carousel of five or more images with links.
    I got
    Hmm…let’s try a different topic. Sorry about that. What else is on your mind?
    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  3. #3
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,791

    Default Re: ChatGPT

    Quote Originally Posted by Acorn View Post
    Chris, I would have asked for example code for a responsive CSS3 sliding carousel of five or more images with links.
    I got

    Acorn
    I asked: How do I create a responsive CSS3 sliding carousel with 5 images and individual links?

    ChatGPT came back with:
    Code:
    <div class="carousel-container">
      <div class="carousel-slides">
        <a href="#"><img src="image1.jpg" alt="Image 1"></a>
        <a href="#"><img src="image2.jpg" alt="Image 2"></a>
        <a href="#"><img src="image3.jpg" alt="Image 3"></a>
        <a href="#"><img src="image4.jpg" alt="Image 4"></a>
        <a href="#"><img src="image5.jpg" alt="Image 5"></a>
      </div>
    </div>
    Code:
    .carousel-container {
      position: relative;
      overflow: hidden;
      width: 100%;
      height: 400px;
    }
    
    
    .carousel-slides {
      display: flex;
      width: 500%;
      animation: slide 10s infinite;
    }
    
    
    .carousel-slides a {
      flex: 1;
      width: 100%;
    }
    
    
    .carousel-slides img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    
    @keyframes slide {
      0% {
        transform: translateX(0);
      }
      20% {
        transform: translateX(0);
      }
      25% {
        transform: translateX(-100%);
      }
      45% {
        transform: translateX(-100%);
      }
      50% {
        transform: translateX(-200%);
      }
      70% {
        transform: translateX(-200%);
      }
      75% {
        transform: translateX(-300%);
      }
      95% {
        transform: translateX(-300%);
      }
      100% {
        transform: translateX(0);
      }
    }
    Code:
    const slides = document.querySelector('.carousel-slides');
    const slideWidth = slides.clientWidth;
    let slideIndex = 0;
    
    
    function slideNext() {
      slideIndex++;
      if (slideIndex >= 5) {
        slideIndex = 0;
      }
      slides.style.transform = `translateX(-${slideIndex * slideWidth}px)`;
    }
    
    
    setInterval(slideNext, 5000);
    
    
    const links = document.querySelectorAll('.carousel-slides a');
    links.forEach(link => {
      link.addEventListener('click', (event) => {
        event.stopPropagation();
      });
    });
    Plus a brief explanation of what the code does.
    I haven't tested any of the above, and only asked the one question.

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,912

    Default Re: ChatGPT

    Thanks Chris, I'll just get my valet to ask in future.

    The code looks clean enough.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  5. #5
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,791

    Default Re: ChatGPT

    Anytime, Acorn

    I put more thought into whether to have Rice Bubbles or toast. I went with toast. It also took longer to paste it into TG and wrap it in 'CODE' BB than it did to receive the answer.

    Here's the brief description it gave at the end:

    Click image for larger version. 

Name:	ChatGPT.jpg 
Views:	41 
Size:	85.9 KB 
ID:	133572

  6. #6
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,912

    Default Re: ChatGPT

    Cheers. My supplementary would have been , "All this without using JavaScript."

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  7. #7
    Join Date
    Nov 2016
    Posts
    6

    Default Re: ChatGPT

    Is there any alternative for ChatGPT? As currently it,s not wrking

    [Links removed]
    Last edited by Acorn; 03 May 2023 at 06:25 PM. Reason: Links removed - you also have earned an Infraction!

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •