Click here to Skip to main content
15,888,142 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: STOTD (stray thought of the day) Pin
Daniel Pfeffer28-Jun-22 2:35
professionalDaniel Pfeffer28-Jun-22 2:35 
GeneralRe: STOTD (stray thought of the day) Pin
MarkTJohnson28-Jun-22 3:38
professionalMarkTJohnson28-Jun-22 3:38 
GeneralRe: STOTD (stray thought of the day) Pin
BillWoodruff29-Jun-22 23:32
professionalBillWoodruff29-Jun-22 23:32 
GeneralCCC 2022-06-28 Pin
Peter_in_278027-Jun-22 22:07
professionalPeter_in_278027-Jun-22 22:07 
GeneralRe: CCC 2022-06-28 Pin
pkfox27-Jun-22 22:17
professionalpkfox27-Jun-22 22:17 
GeneralRe: CCC 2022-06-28 - winner Pin
Peter_in_278027-Jun-22 22:55
professionalPeter_in_278027-Jun-22 22:55 
GeneralRe: CCC 2022-06-28 - winner Pin
pkfox27-Jun-22 23:05
professionalpkfox27-Jun-22 23:05 
Generalhow to use kaboom.js Pin
ar dst27-Jun-22 21:37
ar dst27-Jun-22 21:37 
your html code👇
HTML
<pre><!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>kaboom</title>
</head>
<body>
<pre><script type="module">

// import kaboom lib
import kaboom from "https://unpkg.com/kaboom/dist/kaboom.mjs";

// initialize kaboom context
kaboom();

// add a piece of text at position (120, 80)
add([
    text("hello"),
    pos(120, 80),
]);

</script>



"add([
text("hello"),
pos(120, 80),
]);" is a example
GeneralRe: how to use kaboom.js Pin
Richard Deeming27-Jun-22 21:47
mveRichard Deeming27-Jun-22 21:47 
GeneralRe: how to use kaboom.js Pin
Kornfeld Eliyahu Peter27-Jun-22 22:03
professionalKornfeld Eliyahu Peter27-Jun-22 22:03 
GeneralRe: how to use kaboom.js Pin
OriginalGriff27-Jun-22 22:03
mveOriginalGriff27-Jun-22 22:03 
GeneralWordle 374 Pin
Amarnath S27-Jun-22 14:44
professionalAmarnath S27-Jun-22 14:44 
GeneralRe: Wordle 374 Pin
Peter_in_278027-Jun-22 14:50
professionalPeter_in_278027-Jun-22 14:50 
GeneralRe: Wordle 374 Pin
Vivi Chellappa27-Jun-22 18:10
professionalVivi Chellappa27-Jun-22 18:10 
GeneralRe: Wordle 374 Pin
OriginalGriff27-Jun-22 18:46
mveOriginalGriff27-Jun-22 18:46 
GeneralRe: Wordle 374 Pin
ChandraRam27-Jun-22 19:59
ChandraRam27-Jun-22 19:59 
GeneralRe: Wordle 374 Pin
0x01AA27-Jun-22 20:36
mve0x01AA27-Jun-22 20:36 
GeneralRe: Wordle 374 Pin
Sander Rossel27-Jun-22 20:45
professionalSander Rossel27-Jun-22 20:45 
GeneralRe: Wordle 374 Pin
pkfox27-Jun-22 21:03
professionalpkfox27-Jun-22 21:03 
GeneralRe: Wordle 374 Pin
dan!sh 27-Jun-22 21:15
professional dan!sh 27-Jun-22 21:15 
GeneralRe: Wordle 374 Pin
Greg Utas28-Jun-22 0:43
professionalGreg Utas28-Jun-22 0:43 
GeneralRe: Wordle 374 Pin
musefan28-Jun-22 1:10
musefan28-Jun-22 1:10 
GeneralRe: Wordle 374 Pin
Cp-Coder28-Jun-22 1:38
Cp-Coder28-Jun-22 1:38 
GeneralRe: Wordle 374 Pin
den2k8828-Jun-22 2:16
professionalden2k8828-Jun-22 2:16 
GeneralWeb 3 Pin
David O'Neil27-Jun-22 7:27
professionalDavid O'Neil27-Jun-22 7:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.