1
Programs / Re: Screenshare
« on: July 09, 2020, 12:52:10 pm »
I tried to use JQuery instead of reload but I gave up.
Join the live talk at Discord.
Be part of the conversation at
http://discord.qb64.org.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Nice work, ashishh. I made yours a little more efficient:Code: QB64: [Select]
'COVID-19 in QB64 'By Ashish '1 Jun, 2020 ' 'WARNING:Use mask. Apply santizer after closing the program. _TITLE "I'm Covid-19" TYPE vec3 TYPE COVID19 virus.r = 0.3 glAllow = -1 _LIMIT 1 init = 1 _glEnable _GL_DEPTH_TEST _glEnable _GL_LIGHTING _glEnable _GL_LIGHT0 _glMatrixMode _GL_PROJECTION _glMatrixMode _GL_MODELVIEW gluLookAt 0, 0, 2, 0, 0, 0, 0, 1, 0 _glLineWidth 2.0 _glPointSize 10.0 rotY = rotY + 1 glutSolidSphere virus.r, 20, 20 _glDisable _GL_LIGHTING _glBegin _GL_LINES 'FOR phi = 0.4 TO _PI(2) STEP .5 'FOR theta = 0.3 TO _PI STEP .5 rr = 0.18 _glBegin _GL_POINTS _glEnable _GL_LIGHTING internal_vec4(0) = x internal_vec4(1) = y internal_vec4(2) = z internal_vec4(3) = w